Skip to content

Commit

Permalink
Prefer to build a minified version
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
mkody committed Aug 21, 2023
1 parent df493b9 commit 207fcfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- run: npm install -g npm
- run: yarn install --frozen-lockfile
- run: yarn test
- run: yarn build
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"docs": "jsdoc --configure .jsdoc.json --verbose",
"test": "jest",
"lint": "eslint ./src ./test",
"build": "esbuild ./src/index.js --bundle --format=esm --outfile=./dist/TwitchEmoticons.js"
"build": "esbuild ./src/index.js --bundle --minify --keep-names --sourcemap --format=esm --outfile=./dist/TwitchEmoticons.min.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 207fcfa

Please sign in to comment.