2017 © Pedro Peláez
 

library twig-webpack

A Twig extension to make working with webpack a bit easier

image

pmg/twig-webpack

A Twig extension to make working with webpack a bit easier

  • Monday, February 13, 2017
  • by chrisguitarguy
  • Repository
  • 8 Watchers
  • 2 Stars
  • 6,416 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 4 Versions
  • 8 % Grown

The README.md

Twig + Webpack

This is a small set of libraries and a Symfony bundle for easily integrating the webpack dev server into your Twig templates., (*1)

Usage in Twig

{% webpack %}
<script src="{{ asset('assets/js/bundled.js') }}"></script>
{% endwebpack %}

If webpack is in dev mode (see below), the asset(...) call is overridden to point to the webpack dev server. Additionally the webpack dev server JS is added above your scripts to provide auto/hot reloading., (*2)

The Versions

13/02 2017

dev-master

9999999-dev

A Twig extension to make working with webpack a bit easier

  Sources   Download

MIT

The Requires

 

The Development Requires

13/02 2017

1.1.0

1.1.0.0

A Twig extension to make working with webpack a bit easier

  Sources   Download

MIT

The Requires

 

The Development Requires

03/02 2017

dev-asset_ctx

dev-asset_ctx

A Twig extension to make working with webpack a bit easier

  Sources   Download

MIT

The Requires

 

The Development Requires

10/08 2016

1.0.0

1.0.0.0

A Twig extension to make working with webpack a bit easier

  Sources   Download

MIT

The Requires

 

The Development Requires