Closed zrothauser closed 8 years ago
Agreed! I’d like to move the compiled files into the root directory, as well, similar to what normalize.css / sanitize.css do.
replace the build.js with this to get unminified version
https://gist.github.com/noahjohn9259/0b0a354a5280c4c4e9f2f09d66bb71af
and use npm run build
If it’s used as a package, minified is fine. When testing, you can build flexibility uncompressed with a source map.
It would be helpful if the build process built both a minified and unminified file, for providing hosts such as WordPress VIP that minify JS files.