FredKSchott / create-snowpack-app

The all-in-one app template for Snowpack. [moved]
https://www.snowpack.dev
Other
727 stars 96 forks source link

support multiple html webpack entries #171

Closed mxmul closed 4 years ago

mxmul commented 4 years ago

Fixes #74.

Instead of extracting script tags from config.devOptions.fallback, I search for all *.html files in the build directory and extract local script tags from all of them.

drwpow commented 4 years ago

This is awesome! Would love to get this merged; just have 1 question and 1 comment

FredKSchott commented 4 years ago

Late to the PR: but just wanted to say thank you for tackling this! Supporting both SPAs & non-SPAs like this is something I'm really excited about, and this is a huge step towards that.