Skip to content

Commit fa1117b

Browse files
committed
build a minified runestone.js
1 parent bd54517 commit fa1117b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

makeRelease.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ read -p "Did you update/commit the version in setup.py " yn
2121
done
2222

2323
rm dist/*
24-
npm run build
24+
npm run dist
2525
python setup.py sdist
2626
pip wheel --no-index --no-deps --global-option bdist_wheel --wheel-dir dist dist/*.tar.gz
2727

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"build": "webpack --env.MODE=development",
99
"watch": "webpack --env.MODE=development --watch",
1010
"start": "webpack-dev-server --env.MODE=development --open",
11-
"serve": "cd dist; python -m http.server 8080; cd .."
11+
"serve": "cd dist; python -m http.server 8080; cd ..",
12+
"dist": "webpack --env.MODE=production"
1213
},
1314
"keywords": [],
1415
"author": "",

0 commit comments

Comments
 (0)