This repository was archived by the owner on Dec 4, 2017. It is now read-only.
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
Webpack guide package.json build script uses rm, fails on Windows #1392
Closed
Description
Pretty sure this will fail on most versions of Windows, due to the absence of rm on that platform:
"build": "rm -rf dist && webpack --config config/webpack.prod.js --progress --profile --bail"
Probably should use something like rimraf or implement clean-webpack-plugin inside the webpack config. I tend to prefer the latter, since it keeps the whole build cycle within webpack.
Metadata
Metadata
Assignees
Labels
No labels