Skip to content

Commit

Permalink
Add --bundleConfigAsCjs flag to ci build step.
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisdonovan committed Oct 27, 2024
1 parent 3b0eeb0 commit af71771
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install Dependencies
run: npm i
- name: Build
run: npm run build
run: npm run build:ci
- name: Semantic release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"test": "jest",
"build:ts": "tsc",
"build:rollup": "rollup -c",
"build": "rm -rf ./dist/* && npm run build:ts && npm run build:rollup"
"build": "rm -rf ./dist/* && npm run build:ts && npm run build:rollup",
"build:ci": "rm -rf ./dist/* && npm run build:ts && rollup -c --bundleConfigAsCjs"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit af71771

Please sign in to comment.