Skip to content

Commit 72b4335

Browse files
committed
rename dist->cjs in Types
1 parent a06e783 commit 72b4335

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/types/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"engines": {
1010
"node": ">=8"
1111
},
12-
"main": "build/dist/index.js",
12+
"main": "build/cjs/index.js",
1313
"module": "build/esm/index.js",
1414
"types": "build/types/index.d.ts",
1515
"publishConfig": {
@@ -29,7 +29,7 @@
2929
"build:esm:watch": "tsc -p tsconfig.esm.json --watch",
3030
"build:types:watch": "tsc -p tsconfig.types.json --watch",
3131
"build:npm": "ts-node ../../scripts/prepack.ts && npm pack ./build",
32-
"clean": "rimraf dist esm build",
32+
"clean": "rimraf build",
3333
"link:yarn": "yarn link",
3434
"lint": "run-s lint:prettier lint:eslint",
3535
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",

packages/types/tsconfig.cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
"compilerOptions": {
55
"module": "commonjs",
6-
"outDir": "build/dist"
6+
"outDir": "build/cjs"
77
}
88
}

0 commit comments

Comments
 (0)