twig-html-loader
twig-html-loader copied to clipboard
Twig to html loader for webpack
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.0 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@ChALkeR). Fix boolean schemas with strictKeywords...
Hello, I'm trying to use data from htmlWebpackPlugin options as describe in [Writing Your Own Templates](https://github.com/jantimon/html-webpack-plugin#writing-your-own-templates) section. I tried to access the object but it's empty: ```{{ htmlWebpackPlugin.options.title }}``` Probably...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Hello. Is there any chance to add newly created template to context, so plugin can compile it without reloading build?
In my project with around 100 pages (plus tons of twig imports, macro , etc...) I see the regrasion of RAM memory from 2G to 8G in couple of builds...
Then I try to add async function, for example: ``` functions:{ getFileInfo:(value,...args)=>{ return new Promise((resolve,reject)=>{ setTimeout(()=>{ // get file info from DB return resolve(JSON.stringify(require("./demo_data/file_data.js")))//info about file },3000) })//promise },//getFileInfo }...
There is Twig function [source](https://twig.symfony.com/doc/2.x/functions/source.html) which returns the content of a template without rendering it. One useful use of this function is to insert the svg file into the final...