We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b45fea commit 2888e7bCopy full SHA for 2888e7b
package.json
@@ -6,7 +6,7 @@
6
"scripts": {
7
"test": "vitest",
8
"typecheck": "tsc --noEmit",
9
- "build": "swc ./src -d dist --no-swcrc --config-file .swcrc.build && cp src/index.d.ts dist/index.d.ts && cp LICENSE dist/LICENSE"
+ "build": "sh ./scripts/build.sh"
10
},
11
"repository": {
12
"type": "git",
scripts/build.sh
@@ -0,0 +1,4 @@
1
+swc ./src -d dist --no-swcrc --config-file .swcrc.build
2
+cp src/index.d.ts dist/index.d.ts
3
+cp LICENSE dist/LICENSE
4
+cp README.md dist/README.md
0 commit comments