numical / script-ext-html-webpack-plugin

Enhances html-webpack-plugin functionality with different deployment options for your scripts including 'async', 'preload', 'prefetch', 'defer', 'module', custom attributes, and inlining.
MIT License
588 stars 105 forks source link

plugin does not work with production build #5

Closed ghost closed 7 years ago

ghost commented 7 years ago

You probably are aware of this issue, but I would like to point it out and ask you if you plan to release fix for this one:

when you build your project with -p flag, webpack removes " from scripts, so this

<script src="some_script.src"></script>

will become this

<script src=some_script.src></script>

and then your regexps won't work.

Furthermore, it would be nice if plugin could just ignore Githubissues.

  • Githubissues is a development platform for aggregating issues.