Skip to content

Commit bc2bedc

Browse files
committed
Tweaks
1 parent 5a9486f commit bc2bedc

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"build:cjs": "tsc -p tsconfig.cjs.json && echo \"{\"type\": \"commonjs\"}\" > dist/cjs/package.json",
6767
"build:esm": "tsc -p tsconfig.esm.json",
6868
"build:webpack": "webpack --config webpack.prod.js && cp dist/sql-formatter.min.cjs dist/sql-formatter.min.js",
69-
"build": "yarn grammar && npm-run-all --parallel build:cjs build:esm build:webpack",
69+
"build": "yarn grammar && rm -rf dist && npm-run-all --parallel build:cjs build:esm build:webpack",
7070
"release": "release-it"
7171
},
7272
"repository": {

tsconfig.cjs.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
44
"outDir": "dist/cjs",
5-
"module": "CommonJS",
6-
"moduleResolution": "NodeNext"
5+
"module": "CommonJS"
76
},
87
"include": ["src"]
98
}

tsconfig.esm.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
44
"outDir": "dist/esm",
5-
"module": "NodeNext",
6-
"moduleResolution": "NodeNext"
5+
"module": "NodeNext"
76
},
87
"include": ["src"]
98
}

0 commit comments

Comments
 (0)