Skip to content

Commit

Permalink
chore: repo overall update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangtao25 committed Nov 26, 2024
1 parent 2543581 commit 079a2ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions plugins/vite-plugin-canyon/build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ export default defineBuildConfig({
clean: true,
declaration: true,
externals: ['@swc/core'], // 排除 @swc/core 依赖
failOnWarn:false
});
4 changes: 1 addition & 3 deletions plugins/vite-plugin-canyon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 079a2ee

Please sign in to comment.