Skip to content

Commit 521575f

Browse files
committed
rename dist->cjs in Vue
1 parent 7115fdf commit 521575f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/vue/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": {
@@ -46,7 +46,7 @@
4646
"build:types:watch": "tsc -p tsconfig.types.json --watch",
4747
"build:npm": "ts-node ../../scripts/prepack.ts && npm pack ./build",
4848
"circularDepCheck": "madge --circular src/index.ts",
49-
"clean": "rimraf dist esm build coverage",
49+
"clean": "rimraf esm build coverage",
5050
"fix": "run-s fix:eslint fix:prettier",
5151
"fix:eslint": "eslint . --format stylish --fix",
5252
"fix:prettier": "prettier --write \"{src,test,scripts}/**/*.ts\"",

packages/vue/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)