Skip to content

Commit

Permalink
_js: bump to 0.10.1 with minification
Browse files Browse the repository at this point in the history
This shrinks index.js all the way from 2.2MiB to 1.5MiB.
  • Loading branch information
mvdan committed May 8, 2022
1 parent 9807f61 commit b632912
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _js/build
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ if ! go version | grep -q go1.17; then
exit 1
fi

go run github.com/gopherjs/gopherjs build -o index.js || exit 1
go run github.com/gopherjs/gopherjs build --minify --output=index.js || exit 1

node testmain.js || exit 1
2 changes: 1 addition & 1 deletion _js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mvdan-sh",
"version": "0.10.0",
"version": "0.10.1",
"description": "A shell parser and formatter (POSIX/Bash/mksh)",
"main": "index.js",
"repository": "https://github.com/mvdan/sh",
Expand Down

0 comments on commit b632912

Please sign in to comment.