Using html-webpack-plugin with web pack,
- Can create or generate a index.html file
- Can use template to generate a index.html file
But I want to inject the bundled JS and CSS file to another existing html file. I didn't find any options to do that in the plugin.
We have Asp.net MVC _layout.html. If I go with the template option, the contents from _layout.html are broken since more code in _Layout.html are html mixed with c#.
Do we have any option to replace content without breaking or add bundled file to existing html file?
Via Active questions tagged javascript - Stack Overflow https://ift.tt/WPs97uT
Comments
Post a Comment