jonathantneal / flexibility

A JavaScript polyfill for Flexbox
https://jonathantneal.github.io/flexibility/
MIT License
4.33k stars 479 forks source link

Unminified Dist File #56

Closed zrothauser closed 8 years ago

zrothauser commented 8 years ago

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.

jonathantneal commented 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.

nucab commented 8 years ago

replace the build.js with this to get unminified version

https://gist.github.com/noahjohn9259/0b0a354a5280c4c4e9f2f09d66bb71af

and use npm run build

jonathantneal commented 8 years ago

If it’s used as a package, minified is fine. When testing, you can build flexibility uncompressed with a source map.