ejs-html-loader icon indicating copy to clipboard operation
ejs-html-loader copied to clipboard

htmlWebpackPlugin is not defined

Open v2pwww opened this issue 7 years ago • 2 comments

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?

v2pwww avatar Sep 19 '17 15:09 v2pwww

What are the odds of getting this issue fixed?

kwhat avatar May 03 '19 22:05 kwhat

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.

kwhat avatar May 06 '19 23:05 kwhat