Closed sghiassy closed 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.
npm build
-d
-w
webpack.config.js
This PR changes the behavior so that npm start builds to development mode but npm build builds to production mode.
npm start
thanks!
Previously
npm build
built to development mode-d
and added a watcher-w
to the files inwebpack.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 butnpm build
builds to production mode.