jonathantneal / flexibility

A JavaScript polyfill for Flexbox

Home Page:https://jonathantneal.github.io/flexibility/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unminified Dist File

zrothauser opened this issue · comments

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.

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.