Skip to content

Commit e7b4888

Browse files
committed
chore: dist is removed, just build cjs
1 parent c65dd82 commit e7b4888

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@
5656
],
5757
"type": "module",
5858
"scripts": {
59-
"build": "npm run build:cjs && npm run build:dist",
60-
"build:cjs": "swc ./lib/*.js -d ./cjs && swc ./lib/**/*.js -d ./cjs && copyfiles ./lib/**/*.cjs -u 1 ./cjs && node ./scripts/writeCJSPackageJSON.cjs",
61-
"build:dist": "cp LICENSE *.md dist",
59+
"build": "swc ./lib/*.js -d ./cjs && swc ./lib/**/*.js -d ./cjs && copyfiles ./lib/**/*.cjs -u 1 ./cjs && node ./scripts/writeCJSPackageJSON.cjs",
6260
"clean": "shx rm -rf coverage cjs",
6361
"lint": "eslint lib test/fixtures test/specs",
6462
"test": "npm run test:node && npm run test:typescript && npm run test:browser && npm run lint",

0 commit comments

Comments
 (0)