Skip to content

Commit 296493a

Browse files
committed
fix: Fix bundled file name (#267).
1 parent 880754a commit 296493a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"prepare": "husky install && npm run build",
1414
"watch": "tsbb watch",
1515
"build": "tsbb build",
16-
"bundle": "ncc build src/index.tsx --target web",
17-
"bundle:min": "ncc build src/index.tsx --target web --minify",
16+
"bundle": "ncc build src/index.tsx --target web --filename codemirror",
17+
"bundle:min": "ncc build src/index.tsx --target web --filename codemirror --minify",
1818
"test": "tsbb test --env=jsdom",
1919
"coverage": "tsbb test --coverage --bail",
2020
"doc": "kkt build --app-src ./website",
@@ -83,7 +83,7 @@
8383
"@codemirror/legacy-modes": "0.19.0",
8484
"@codemirror/stream-parser": "0.19.6",
8585
"@kkt/less-modules": "7.1.1",
86-
"@kkt/ncc": "1.0.5",
86+
"@kkt/ncc": "1.0.7",
8787
"@kkt/raw-modules": "7.1.1",
8888
"@kkt/scope-plugin-options": "7.1.1",
8989
"@types/react": "17.0.39",

0 commit comments

Comments
 (0)