Skip to content

Commit 1d716ba

Browse files
postinstall minified bundle
1 parent cd998a6 commit 1d716ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"format": "prettier --write .",
3838
"check-format": "prettier --check .",
3939
"bundle": "esbuild src/chessground.ts --bundle --format=esm --outfile=dist/chessground.min.js --minify",
40-
"dist": "$npm_execpath run compile && $npm_execpath run bundle"
40+
"dist": "$npm_execpath run compile && $npm_execpath run bundle",
41+
"postinstall": "run bundle"
4142
},
4243
"files": [
4344
"/dist/*.js",

0 commit comments

Comments
 (0)