Skip to content

Commit

Permalink
fix: Fix ESM module errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Oct 21, 2021
1 parent d55390d commit 7cf67aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"scripts": {
"prepack": "npm run build",
"watch": "tsbb watch --disable-babel",
"build": "tsbb build --disable-babel",
"build": "tsbb build --disable-babel && npm run fix",
"fix": "tsc-esm-fix --target='lib' --ext='.js'",
"type-check": "tsc --noEmit",
"test": "tsbb test",
"coverage": "tsbb test --coverage"
Expand Down Expand Up @@ -54,6 +55,7 @@
"remark-gfm": "3.0.0",
"remark-parse": "10.0.0",
"remark-rehype": "10.0.0",
"tsc-esm-fix": "2.7.3",
"tsbb": "3.4.4"
}
}

0 comments on commit 7cf67aa

Please sign in to comment.