FredKSchott / create-snowpack-app

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

Split index file into 2 files #176

Closed stramel closed 4 years ago

stramel commented 4 years ago

Just a bit of cleanup. Splits the version check into the index.js and the rest of the code into the createSnowpackApp.js file. This basically ensures that we don't accidentally error out before doing the version check. CRA and other cli tools handle this similarly.