Skip to content

Commit

Permalink
fix: plugin v2 runtime export add node config
Browse files Browse the repository at this point in the history
  • Loading branch information
caohuilin committed Feb 11, 2025
1 parent 721d9c1 commit fefb217
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changeset/friendly-lobsters-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@modern-js/plugin-v2': patch
---

fix: plugin v2 runtime export add node config

fix: plugin v2 runtime 导出增加 node 配置
4 changes: 4 additions & 0 deletions packages/toolkit/plugin-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
"./runtime": {
"types": "./dist/types/runtime/index.d.ts",
"jsnext:source": "./src/runtime/index.ts",
"node": {
"import": "./dist/esm-node/runtime/index.js",
"require": "./dist/cjs/runtime/index.js"
},
"default": "./dist/esm/runtime/index.js"
}
},
Expand Down

0 comments on commit fefb217

Please sign in to comment.