Skip to content

Commit

Permalink
update webpack 5 benchmark (#681)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxsan authored Jan 17, 2021
1 parent 2d8796e commit 2aa01f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ require/webpack/node_modules:
require/webpack5/node_modules:
mkdir -p require/webpack5
echo '{}' > require/webpack5/package.json
cd require/webpack5 && npm install webpack@5.0.0-rc.4 webpack-cli@4.0.0-rc.1 [email protected].4 typescript@4.0.3
cd require/webpack5 && npm install webpack@5.14.0 webpack-cli@4.3.1 [email protected].14 typescript@4.1.3

require/rollup/node_modules:
mkdir -p require/rollup
Expand Down Expand Up @@ -489,7 +489,7 @@ demo-three-webpack5: | require/webpack5/node_modules demo/three
mkdir -p require/webpack5/demo/three demo/three/webpack5
ln -s ../../../../demo/three/src require/webpack5/demo/three/src
ln -s ../../../../demo/three/webpack5 require/webpack5/demo/three/out
cd require/webpack5/demo/three && time -p ../../node_modules/.bin/webpack ./src/Three.js $(THREE_WEBPACK5_FLAGS) -o out/Three.webpack5.js
cd require/webpack5/demo/three && time -p ../../node_modules/.bin/webpack --entry ./src/Three.js $(THREE_WEBPACK5_FLAGS) -o out/Three.webpack5.js
du -h demo/three/webpack5/Three.webpack5.js*

THREE_PARCEL_FLAGS += --global THREE
Expand Down Expand Up @@ -564,7 +564,7 @@ bench-three-webpack5: | require/webpack5/node_modules bench/three
mkdir -p require/webpack5/bench/three bench/three/webpack5
ln -s ../../../../bench/three/src require/webpack5/bench/three/src
ln -s ../../../../bench/three/webpack5 require/webpack5/bench/three/out
cd require/webpack5/bench/three && time -p ../../node_modules/.bin/webpack ./src/entry.js $(THREE_WEBPACK5_FLAGS) -o out/entry.webpack5.js
cd require/webpack5/bench/three && time -p ../../node_modules/.bin/webpack --entry ./src/entry.js $(THREE_WEBPACK5_FLAGS) -o out/entry.webpack5.js
du -h bench/three/webpack5/entry.webpack5.js*

bench-three-parcel: | require/parcel/node_modules bench/three
Expand Down

0 comments on commit 2aa01f5

Please sign in to comment.