gulp-swig icon indicating copy to clipboard operation
gulp-swig copied to clipboard

Swig template compiler for Gulp

Results 23 gulp-swig issues
Sort by recently updated
recently updated
newest added

I noticed that gulp-swig currently uses ".html" for every file extension unless explicitly configured to do otherwise. Ideally, it would just use the file extension from the given file stream...

Does this support namespaces? E.g. being able to set `@App` as an alias to a path: ``` {{ include('@App/Foo/bar.html.twig') }} ```

Hi, I am having issues with caching on gulp watch. This is how I have it set: ``` var swigOptions = { load_json: true, json_path: './data', defaults: { cache: false...

When using an auto generated json file such as the manifest from a cache buster, the generated keys may not be valid variable names in Swig. ``` {"js/script.js":"js/script.da39a3ee.js"} ``` To...

Hi, Have a problem outputting the following tags html:- - svg - main Swig removes the whole inline svg tag leaving only the content of the sub tag. eg. ```...

Guys, Even catching the errors, Gulp ins't able to keep executing after getting a Swig error. Example: ``` [19:51:53] gulp-notify: [Error running Gulp] Error compiling template files: Unexpected end of...

Hi guys, I have an issue here, I can't actually add some global data that's common for all the templates. I've tried a solution offered on [stackoverflow](http://stackoverflow.com/questions/23767147/how-do-i-pull-multiple-json-files-into-swig-on-node-js), but it didn't...

I've added an option to allow precompilation. Simply setting this to true will create a file with the precompilation function in it. Specifying a string on the other hand considers...

The way the code is now it breaks when you need to run a function from the html that is defined in the context. The way it is now, variables...