Skip to content

Commit 6c3f748

Browse files
authored
fix: json build output format error (#4)
1 parent 2cbf5f4 commit 6c3f748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"scripts": {
2626
"build": "yarn tsup --minify",
2727
"dev": "yarn tsup --sourcemap",
28-
"tsup": "tsup src/index.ts --dts --format cjs,esm --clean --loader \".json=file\"",
28+
"tsup": "tsup src/index.ts --dts --format cjs,esm --clean --loader \".json=copy\"",
2929
"fetch-data": "tsx scripts/fetch-data.ts",
3030
"test": "yarn test:text",
3131
"test:text": "nyc --reporter=text mocha ./__tests__",

0 commit comments

Comments
 (0)