Open brightpixels opened 5 years ago
Any update with getting this working? I'm having similar issues with no bundled CSS/JS appearing when using this plugin alongside html-webpack-plugin
Hi.
There are multiple options, none of them involves the handlebars-plugin, since its job is to compile handlebars-templates only. I am no longer working with this plugin, so i can only give you some directions right now.
<script src>
-tag to your index.hbx fileLooking at your config, it seems the quickest option is to <script src="app.js"></script>
to your templates.
I hope this helps you getting started. Cheers.
Hello, I am able to generate html pages using partials but I would like the bundle.css and bundle.js added to the pages but can't see any examples of doing that.
My simplified webpack config (based on https://github.com/wbkd/webpack-starter)
Files