petehunt / webpack-howto

10.12k stars 697 forks source link

How to inject bundled script to existing html? #105

Open jeevasusej opened 2 years ago

jeevasusej commented 2 years ago

I have referred html-webpack-plugin to inject the bundled files.

But, I want to inject the bundled files to existing html file. How can I do that? I didn't find any such an option.

My actual expectation is like, I have asp.net mvc _layout.cshtml. I want to inject the output of bundled js and css files to _layout.cshtml.

gt333 commented 2 years ago

这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。