Inject bundled JS and CSS to the existing file
jeevasusej opened this issue · 4 comments
jeevasusej commented
Current behaviour 💣
I can copy the template and generate index.html.
Expected behaviour ☀️
I am using Asp.net MVC file. I want to inject bundled JS and CSS to external existing file which is _layout.cshtml.
Is there any configuration to modify this?
Xiaoooyooo commented
I think you can try templateContent
option, here is a example
Somnium7 commented
You can use html-inline-script-webpack-plugin.
Somnium7 commented
I think you can try
templateContent
option, here is a example
I have tried this, but hot reloading did not work for me, as it is not working when I change template. Or maybe I was doing something wrong?
alexander-akait commented
There is an example #1754 (comment), feel free to feedback if you need a help