chenglou / react-tween-state

React animation.
Other
1.74k stars 70 forks source link

Changed NPM BUILD command to now use production mode. #41

Closed sghiassy closed 9 years ago

sghiassy commented 9 years ago

Previously npm build built to development mode -d and added a watcher -w to the files in webpack.config.js. This caused bugs such as https://github.com/chenglou/react-tween-state/issues/38.

This PR changes the behavior so that npm start builds to development mode but npm build builds to production mode.

chenglou commented 9 years ago

thanks!