Skip to content

Commit

Permalink
fix(build): fix es module build
Browse files Browse the repository at this point in the history
Return es module build back as was in version 3.1.1 (it had working es build).
  • Loading branch information
zeruk committed Oct 18, 2022
1 parent 747ed0a commit 8d4715b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 17 deletions.
14 changes: 0 additions & 14 deletions fixup.sh

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"test:integration:production": "jest --config jest.config.production.js",
"test:all": "run-p test:unit test:integration:production",
"test": "npm run test:unit",
"build": "tsc -p tsconfig-esm.json && tsc -p tsconfig-cjs.json && ./fixup.sh",
"build": "tsc -p tsconfig-esm.json && tsc -p tsconfig-cjs.json",
"clean": "rm -rf build",
"prepublish": "npm run clean && npm run build",
"release": "standard-version"
Expand Down
3 changes: 2 additions & 1 deletion tsconfig-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"resolveJsonModule": true
},
"include": [
"src/**/*.ts"
"src/**/*.ts",
"certs"
],
"exclude": [
"node_modules"
Expand Down
2 changes: 1 addition & 1 deletion tsconfig-esm.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "./tsconfig-base.json",
"compilerOptions": {
"module": "esnext",
"module": "commonjs",
"outDir": "build/esm",
"target": "esnext"
}
Expand Down

0 comments on commit 8d4715b

Please sign in to comment.