Skip to content

Commit

Permalink
build a minified runestone.js
Browse files Browse the repository at this point in the history
  • Loading branch information
runestonetest committed Sep 3, 2020
1 parent bd54517 commit fa1117b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion makeRelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ read -p "Did you update/commit the version in setup.py " yn
done

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

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"build": "webpack --env.MODE=development",
"watch": "webpack --env.MODE=development --watch",
"start": "webpack-dev-server --env.MODE=development --open",
"serve": "cd dist; python -m http.server 8080; cd .."
"serve": "cd dist; python -m http.server 8080; cd ..",
"dist": "webpack --env.MODE=production"
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit fa1117b

Please sign in to comment.