mcmath / ejs-html-loader

Webpack loader for rendering HTML from EJS templates
MIT License
47 stars 9 forks source link

htmlWebpackPlugin is not defined #15

Open v2pwww opened 7 years ago

v2pwww commented 7 years ago

Hello! If html-webpack-plugin with options inject: false because i want make custom template inserting and need to use htmlWebpackPlugin.files object. Compile error htmlWebpackPlugin is not defined. How to fix it?

kwhat commented 5 years ago

What are the odds of getting this issue fixed?

kwhat commented 5 years ago

After spending 7 days on this dumpster fire, my conclusion is that this feature is not working because the template is rendered out by this plugin, and webpack, in its infinite autistic wisdom, does not export these variables until the loaders are done. Best I can tell, someone needs to go back and rewrite webpack (again), but using a fucking brain this time. I have never seen a tool with so many useless fucking features.