From 079a2ee00683e0d27a6753575ef768423e038906 Mon Sep 17 00:00:00 2001 From: zhangtao25 Date: Tue, 26 Nov 2024 10:27:51 +0800 Subject: [PATCH] chore: repo overall update --- plugins/vite-plugin-canyon/build.config.ts | 1 + plugins/vite-plugin-canyon/package.json | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/vite-plugin-canyon/build.config.ts b/plugins/vite-plugin-canyon/build.config.ts index 058ec4a..c298395 100644 --- a/plugins/vite-plugin-canyon/build.config.ts +++ b/plugins/vite-plugin-canyon/build.config.ts @@ -7,4 +7,5 @@ export default defineBuildConfig({ clean: true, declaration: true, externals: ['@swc/core'], // 排除 @swc/core 依赖 + failOnWarn:false }); diff --git a/plugins/vite-plugin-canyon/package.json b/plugins/vite-plugin-canyon/package.json index bf48204..bb2765b 100644 --- a/plugins/vite-plugin-canyon/package.json +++ b/plugins/vite-plugin-canyon/package.json @@ -5,14 +5,12 @@ "files": [ "dist/*" ], - "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.cjs" + "import": "./dist/index.mjs" } }, "scripts": {