Created
November 15, 2017 01:28
-
-
Save gdborton/5701baa2a43802e657d50bce9f07ba8f to your computer and use it in GitHub Desktop.
Webpack 3 vs 4 test script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Clear out the babel-loader cache, and the happypack cache. | |
rm -rf ./node_modules; npm install --silent; | |
rm -rf ./tmp | |
echo 'webpack@3.8.1' | |
NODE_ENV=production time npm run webpack:compile | |
# Clear out the babel-loader cache, and the happypack cache. | |
rm -rf ./node_modules; npm install; | |
rm -rf ./tmp | |
# Install the newer version of webpack | |
npm install --silent git://github.com/webpack/webpack.git#b7c746d73f04eac0fe9f751e979ff1c85b28bd9a | |
echo 'webpack@b7c746d73f04eac0fe9f751e979ff1c85b28bd9a' | |
NODE_ENV=production time npm run webpack:compile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment