Weikang
1 min readJul 8, 2017

--

Great article! Thanks for sharing!

I got a question about configuring we pack. You mentioned that it will only install dependencies in dev environment by this command:

yarn add --dev webpack babel-core babel-loader babel-preset-react babel-preset-es2015 node-sass css-loader sass-loader style-loader

But, aren’t these dependencies required in prod in order to translate into JavaScript and CSS.?

--

--