carteb / carte-blanche

An isolated development space with integrated fuzz testing for your components. See them individually, explore them in different states and quickly and confidently develop them.
https://www.youtube.com/watch?v=6g3-TQ6aaw8
MIT License
1.5k stars 46 forks source link

Production warning #358

Closed mxstbr closed 8 years ago

mxstbr commented 8 years ago

This adds a warning when users are running webpack in production, which is checked by either process.env.NODE_ENV being "production", or the UglifyJS plugin being in use.

(when running webpack in production mode, i.e. webpack -p, the only thing it does is add the UglifyJS and the OccurenceOrder plugins)

Closes #325

There's also a few more commits from the v0.2.2 release in here that I forgot to push back then, sorry!

mxstbr commented 8 years ago

The CI failure has nothing to do with this PR, for some reason Travis has other linting rules than I have locally, it works perfectly fine for me…