From 1821d4eef49e64efcb41b848849ca7a5e6472044 Mon Sep 17 00:00:00 2001 From: TGuoW <15768620356@163.com> Date: Tue, 9 Nov 2021 18:58:11 +0800 Subject: [PATCH] fix: rename es module filename --- packages/basic-modules/package.json | 4 ++-- packages/code-highlight/package.json | 4 ++-- packages/core/package.json | 4 ++-- packages/editor-for-react/package.json | 4 ++-- packages/editor/package.json | 4 ++-- packages/list-module/package.json | 4 ++-- packages/table-module/package.json | 4 ++-- packages/upload-image-module/package.json | 4 ++-- packages/video-module/package.json | 4 ++-- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/packages/basic-modules/package.json b/packages/basic-modules/package.json index f605bdefb..c9d8737a1 100644 --- a/packages/basic-modules/package.json +++ b/packages/basic-modules/package.json @@ -8,10 +8,10 @@ "license": "MIT", "types": "dist/basic-modules/src/index.d.ts", "main": "dist/index.js", - "module": "dist/index.mjs", + "module": "dist/index.esm.js", "browser": { "./dist/index.js": "./dist/index.js", - "./dist/index.mjs": "./dist/index.mjs" + "./dist/index.esm.js": "./dist/index.esm.js" }, "directories": { "lib": "dist", diff --git a/packages/code-highlight/package.json b/packages/code-highlight/package.json index 8ec3e8060..f76c25d8f 100644 --- a/packages/code-highlight/package.json +++ b/packages/code-highlight/package.json @@ -8,10 +8,10 @@ "license": "MIT", "types": "dist/code-highlight/src/index.d.ts", "main": "dist/index.js", - "module": "dist/index.mjs", + "module": "dist/index.esm.js", "browser": { "./dist/index.js": "./dist/index.js", - "./dist/index.mjs": "./dist/index.mjs" + "./dist/index.esm.js": "./dist/index.esm.js" }, "directories": { "lib": "dist", diff --git a/packages/core/package.json b/packages/core/package.json index dd72a4cab..79e3698e2 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -8,10 +8,10 @@ "license": "MIT", "types": "dist/core/src/index.d.ts", "main": "dist/index.js", - "module": "dist/index.mjs", + "module": "dist/index.esm.js", "browser": { "./dist/index.js": "./dist/index.js", - "./dist/index.mjs": "./dist/index.mjs" + "./dist/index.esm.js": "./dist/index.esm.js" }, "directories": { "lib": "dist", diff --git a/packages/editor-for-react/package.json b/packages/editor-for-react/package.json index 4c96cbca4..12d326f7d 100644 --- a/packages/editor-for-react/package.json +++ b/packages/editor-for-react/package.json @@ -8,10 +8,10 @@ "license": "MIT", "types": "dist/editor-for-react/src/index.d.ts", "main": "dist/index.js", - "module": "dist/index.mjs", + "module": "dist/index.esm.js", "browser": { "./dist/index.js": "./dist/index.js", - "./dist/index.mjs": "./dist/index.mjs" + "./dist/index.esm.js": "./dist/index.esm.js" }, "directories": { "lib": "dist", diff --git a/packages/editor/package.json b/packages/editor/package.json index 858dfb581..b679129ce 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -15,10 +15,10 @@ "license": "MIT", "types": "dist/editor/src/index.d.ts", "main": "dist/index.js", - "module": "dist/index.mjs", + "module": "dist/index.esm.js", "browser": { "./dist/index.js": "./dist/index.js", - "./dist/index.mjs": "./dist/index.mjs" + "./dist/index.esm.js": "./dist/index.esm.js" }, "directories": { "lib": "dist", diff --git a/packages/list-module/package.json b/packages/list-module/package.json index 14fe82eff..491617f80 100644 --- a/packages/list-module/package.json +++ b/packages/list-module/package.json @@ -8,10 +8,10 @@ "license": "MIT", "types": "dist/list-module/src/index.d.ts", "main": "dist/index.js", - "module": "dist/index.mjs", + "module": "dist/index.esm.js", "browser": { "./dist/index.js": "./dist/index.js", - "./dist/index.mjs": "./dist/index.mjs" + "./dist/index.esm.js": "./dist/index.esm.js" }, "directories": { "lib": "dist", diff --git a/packages/table-module/package.json b/packages/table-module/package.json index bdb6567fd..2c5df6128 100644 --- a/packages/table-module/package.json +++ b/packages/table-module/package.json @@ -8,10 +8,10 @@ "license": "MIT", "types": "dist/table-module/src/index.d.ts", "main": "dist/index.js", - "module": "dist/index.mjs", + "module": "dist/index.esm.js", "browser": { "./dist/index.js": "./dist/index.js", - "./dist/index.mjs": "./dist/index.mjs" + "./dist/index.esm.js": "./dist/index.esm.js" }, "directories": { "lib": "dist", diff --git a/packages/upload-image-module/package.json b/packages/upload-image-module/package.json index 4998c51a3..ba301226f 100644 --- a/packages/upload-image-module/package.json +++ b/packages/upload-image-module/package.json @@ -8,10 +8,10 @@ "license": "MIT", "types": "dist/upload-image-module/src/index.d.ts", "main": "dist/index.js", - "module": "dist/index.mjs", + "module": "dist/index.esm.js", "browser": { "./dist/index.js": "./dist/index.js", - "./dist/index.mjs": "./dist/index.mjs" + "./dist/index.esm.js": "./dist/index.esm.js" }, "directories": { "lib": "dist", diff --git a/packages/video-module/package.json b/packages/video-module/package.json index 36f654488..38b14b27f 100644 --- a/packages/video-module/package.json +++ b/packages/video-module/package.json @@ -8,10 +8,10 @@ "license": "MIT", "types": "dist/video-module/src/index.d.ts", "main": "dist/index.js", - "module": "dist/index.mjs", + "module": "dist/index.esm.js", "browser": { "./dist/index.js": "./dist/index.js", - "./dist/index.mjs": "./dist/index.mjs" + "./dist/index.esm.js": "./dist/index.esm.js" }, "directories": { "lib": "dist",