Skip to content

Commit

Permalink
fix: build @opencrvs/toolkit with --format=cjs option
Browse files Browse the repository at this point in the history
  • Loading branch information
jamil314 committed Nov 26, 2024
1 parent 7763701 commit 208d6bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/toolkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opencrvs/toolkit",
"version": "0.0.4",
"version": "0.0.5",
"description": "OpenCRVS toolkit for building country configurations",
"license": "MPL-2.0",
"exports": {
Expand All @@ -9,7 +9,7 @@
},
"scripts": {
"build": "rimraf dist && tsc --build && yarn build-common-events:js && yarn copy-common-events:ts",
"build-common-events:js": "esbuild src/events/index.ts --bundle --outdir=./dist/events --allow-overwrite --packages=external",
"build-common-events:js": "esbuild src/events/index.ts --bundle --format=cjs --outdir=./dist/events --allow-overwrite --packages=external",
"copy-common-events:ts": "cp -r ../commons/build/dist/common/events/*.d.ts ./dist/events"
},
"dependencies": {},
Expand Down

0 comments on commit 208d6bb

Please sign in to comment.