Closed abhijeetNmishra closed 7 years ago
It is because of babel-loader
.
For now, babelrc
of https://github.com/babel/babel-loader#options is default true
, which will merge babel configuration in babelrc. You should disable it by babelrc: false
.
I have my npm start script as below =
BABEL_ENV='node' babel-node --debug server/bin/boot.js
and babelrc file
webpack config
generates both main.js and main.css files but npm start only creates main.js
Any idea ?