diff --git a/.changeset/itchy-tools-vanish.md b/.changeset/itchy-tools-vanish.md new file mode 100644 index 000000000000..e8411e741afd --- /dev/null +++ b/.changeset/itchy-tools-vanish.md @@ -0,0 +1,6 @@ +--- +'@modern-js/runtime': minor +--- + +feat: the runtime package export `loadable_bundler_plugin` +feat: runtime 包导出 `loadable_bundler_plugin` diff --git a/packages/runtime/plugin-runtime/package.json b/packages/runtime/plugin-runtime/package.json index e9dc61616f5d..222a5afeb7f0 100644 --- a/packages/runtime/plugin-runtime/package.json +++ b/packages/runtime/plugin-runtime/package.json @@ -88,6 +88,11 @@ "jsnext:source": "./src/router/runtime/server.ts", "types": "./dist/types/router/runtime/server.d.ts", "default": "./dist/esm/router/runtime/server.js" + }, + "./loadable-bundler-plugin": { + "jsnext:source": "./src/ssr/cli/loadable-bundler-plugin.ts", + "types": "./dist/types/ssr/cli/loadable-bundler-plugin.d.ts", + "default": "./dist/cjs/ssr/cli/loadable-bundler-plugin.js" } }, "typesVersions": { @@ -130,6 +135,9 @@ ], "router/server": [ "./dist/types/router/runtime/server.d.ts" + ], + "loadable-bundler-plugin": [ + "./dist/types/ssr/cli/loadable-bundler-plugin.d.ts" ] } },