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.
Just a bit of cleanup. Splits the version check into the
index.js
and the rest of the code into thecreateSnowpackApp.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.