From 616e9311e9ca48c7fe1fe7aff7a7537133e9a59d Mon Sep 17 00:00:00 2001 From: thzxx <1440196015@qq.com> Date: Thu, 23 Jul 2026 16:46:44 +0800 Subject: [PATCH] build: add type:module to package.json, rename babel/jest config to .cjs --- babel.config.js => babel.config.cjs | 0 jest.config.js => jest.config.cjs | 0 package.json | 1 + 3 files changed, 1 insertion(+) rename babel.config.js => babel.config.cjs (100%) rename jest.config.js => jest.config.cjs (100%) diff --git a/babel.config.js b/babel.config.cjs similarity index 100% rename from babel.config.js rename to babel.config.cjs diff --git a/jest.config.js b/jest.config.cjs similarity index 100% rename from jest.config.js rename to jest.config.cjs diff --git a/package.json b/package.json index 9f6a08b..4b2550d 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "@metona-team/metona-editor", "version": "0.1.0", "description": "轻量、零依赖、精致美观的 Markdown Editor 库。单文件,开箱即用。", + "type": "module", "main": "dist/metona-editor.js", "module": "src/index.js", "unpkg": "dist/metona-editor.min.js",