Skip to content

Commit 0a1aa3b

Browse files
feat: the runtime package export loadable_bundler_plugin (#3713)
* feat: the runtime package export loadable_bundler_plugin * refactor: rename the exports
1 parent c0b6d11 commit 0a1aa3b

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.changeset/itchy-tools-vanish.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@modern-js/runtime': minor
3+
---
4+
5+
feat: the runtime package export `loadable_bundler_plugin`
6+
feat: runtime 包导出 `loadable_bundler_plugin`

packages/runtime/plugin-runtime/package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@
8888
"jsnext:source": "./src/router/runtime/server.ts",
8989
"types": "./dist/types/router/runtime/server.d.ts",
9090
"default": "./dist/esm/router/runtime/server.js"
91+
},
92+
"./loadable-bundler-plugin": {
93+
"jsnext:source": "./src/ssr/cli/loadable-bundler-plugin.ts",
94+
"types": "./dist/types/ssr/cli/loadable-bundler-plugin.d.ts",
95+
"default": "./dist/cjs/ssr/cli/loadable-bundler-plugin.js"
9196
}
9297
},
9398
"typesVersions": {
@@ -130,6 +135,9 @@
130135
],
131136
"router/server": [
132137
"./dist/types/router/runtime/server.d.ts"
138+
],
139+
"loadable-bundler-plugin": [
140+
"./dist/types/ssr/cli/loadable-bundler-plugin.d.ts"
133141
]
134142
}
135143
},

0 commit comments

Comments
 (0)