From 60fba4fe4a76fdcae6d7eeaf98a12b9caee3ba90 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sat, 8 Apr 2023 02:23:47 +0800 Subject: [PATCH] fix: fix bundle file name. --- core/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/package.json b/core/package.json index e2f324cce..523c6df39 100644 --- a/core/package.json +++ b/core/package.json @@ -8,9 +8,9 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "bundle": "ncc build src/index.tsx --target web --filename mdeditor && npm run bundle:min", - "bundle:watch": "ncc watch src/index.tsx --target web --filename mdeditor", - "bundle:min": "ncc build src/index.tsx --target web --filename mdeditor --minify", + "bundle": "ncc build src/index.tsx --target web --filename codemirror && npm run bundle:min", + "bundle:watch": "ncc watch src/index.tsx --target web --filename codemirror", + "bundle:min": "ncc build src/index.tsx --target web --filename codemirror --minify", "watch": "tsbb watch src/*.tsx --use-babel", "build": "tsbb build src/*.tsx --use-babel", "test": "tsbb test --env=jsdom",