Skip to content
This repository has been archived by the owner on Sep 30, 2022. It is now read-only.

Commit

Permalink
fix(cjs): missing named exports
Browse files Browse the repository at this point in the history
  • Loading branch information
unicornware committed Oct 30, 2021
1 parent 6699370 commit a34228b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@
"fix:format": "prettier --write .",
"fix:style": "yarn check:style --fix --cache",
"test": "bash ./tools/scripts/jest.sh",
"build": "node ./tools/cli/build-pkg.ts",
"build": "ts-node ./tools/cli/build-pkg",
"prepack": "toggle-scripts -postinstall && NODE_ENV=production yarn build",
"postpack": "toggle-scripts +postinstall",
"release": "NODE_ENV=production node ./tools/cli/release.ts",
"release": "NODE_ENV=production ts-node ./tools/cli/release",
"prepublishOnly": "toggle-scripts -prepack",
"postpublish": "toggle-scripts +prepack"
},
Expand All @@ -107,8 +107,7 @@
"@types/chalk": "2.2.0",
"chalk": "4.1.2",
"figures": "3.2.0",
"lodash.merge": "4.6.2",
"tslib": "2.3.1"
"lodash.merge": "4.6.2"
},
"devDependencies": {
"@babel/core": "7.15.8",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.prod.cjs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"downlevelIteration": true,
"importHelpers": true,
"importHelpers": false,
"module": "commonjs",
"outDir": "./cjs",
"target": "es5"
Expand Down
1 change: 0 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,6 @@ __metadata:
tsc-prog: 2.2.1
tsconfig: 7.0.0
tsconfig-paths: 3.11.0
tslib: 2.3.1
typescript: 4.5.0-beta
yargs: 17.2.1
peerDependencies:
Expand Down

0 comments on commit a34228b

Please sign in to comment.