Unminified Dist File
zrothauser opened this issue · comments
Zack Rothauser commented
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.
Jonathan Neal commented
Agreed! I’d like to move the compiled files into the root directory, as well, similar to what normalize.css / sanitize.css do.
Noah U commented
replace the build.js with this to get unminified version
https://gist.github.com/noahjohn9259/0b0a354a5280c4c4e9f2f09d66bb71af
and use npm run build
Jonathan Neal commented
If it’s used as a package, minified is fine. When testing, you can build flexibility uncompressed with a source map.