@bleedingdev/modern-js-app-tools 3.2.0-ultramodern.99 → 3.4.0-ultramodern.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/baseline.js +12 -92
- package/dist/cjs/builder/builder-rspack/index.js +9 -5
- package/dist/cjs/builder/generator/adapterCopy.js +9 -5
- package/dist/cjs/builder/generator/createBuilderProviderConfig.js +9 -5
- package/dist/cjs/builder/generator/createCopyPattern.js +9 -5
- package/dist/cjs/builder/generator/getBuilderEnvironments.js +41 -9
- package/dist/cjs/builder/generator/index.js +16 -5
- package/dist/cjs/builder/index.js +9 -5
- package/dist/cjs/builder/shared/builderPlugins/adapterBasic.js +9 -5
- package/dist/cjs/builder/shared/builderPlugins/adapterHtml.js +10 -6
- package/dist/cjs/builder/shared/builderPlugins/adapterPrecompress.js +9 -5
- package/dist/cjs/builder/shared/builderPlugins/adapterSSR.js +39 -9
- package/dist/cjs/builder/shared/builderPlugins/builderHooks.js +12 -8
- package/dist/cjs/builder/shared/builderPlugins/index.js +9 -5
- package/dist/cjs/builder/shared/bundlerPlugins/HtmlAsyncChunkPlugin.js +9 -5
- package/dist/cjs/builder/shared/bundlerPlugins/HtmlBottomTemplate.js +12 -8
- package/dist/cjs/builder/shared/bundlerPlugins/RouterPlugin.js +41 -8
- package/dist/cjs/builder/shared/bundlerPlugins/index.js +9 -5
- package/dist/cjs/builder/shared/createCopyInfo.js +9 -5
- package/dist/cjs/builder/shared/index.js +9 -5
- package/dist/cjs/builder/shared/lazyCompilation.js +94 -0
- package/dist/cjs/builder/shared/loaders/serverModuleLoader.js +12 -8
- package/dist/cjs/commands/build.js +9 -5
- package/dist/cjs/commands/deploy.js +9 -5
- package/dist/cjs/commands/dev.js +9 -5
- package/dist/cjs/commands/index.js +12 -11
- package/dist/cjs/commands/info.js +9 -5
- package/dist/cjs/commands/inspect.js +12 -8
- package/dist/cjs/commands/runtime.js +50 -13
- package/dist/cjs/commands/serve.js +9 -5
- package/dist/cjs/compat/hooks.js +9 -5
- package/dist/cjs/compat/index.js +9 -5
- package/dist/cjs/compat/utils.js +9 -5
- package/dist/cjs/config/default.js +27 -7
- package/dist/cjs/config/index.js +9 -5
- package/dist/cjs/config/initialize/index.js +9 -5
- package/dist/cjs/config/initialize/inits.js +9 -5
- package/dist/cjs/constants.js +13 -9
- package/dist/cjs/defineConfig.js +12 -8
- package/dist/cjs/esm/register-esm.js +12 -8
- package/dist/cjs/esm/ts-paths-loader.js +9 -5
- package/dist/cjs/index.js +23 -17
- package/dist/cjs/locale/en.js +12 -8
- package/dist/cjs/locale/index.js +9 -5
- package/dist/cjs/locale/zh.js +12 -8
- package/dist/cjs/plugins/analyze/constants.js +14 -10
- package/dist/cjs/plugins/analyze/getBundleEntry.js +9 -5
- package/dist/cjs/plugins/analyze/getFileSystemEntry.js +9 -5
- package/dist/cjs/plugins/analyze/getHtmlTemplate.js +9 -5
- package/dist/cjs/plugins/analyze/getServerRoutes.js +9 -5
- package/dist/cjs/plugins/analyze/index.js +12 -6
- package/dist/cjs/plugins/analyze/isDefaultExportFunction.js +10 -6
- package/dist/cjs/plugins/analyze/templates.js +12 -8
- package/dist/cjs/plugins/analyze/utils.js +9 -5
- package/dist/cjs/plugins/deploy/index.js +9 -5
- package/dist/cjs/plugins/deploy/platforms/cloudflare.js +185 -7
- package/dist/cjs/plugins/deploy/platforms/gh-pages.js +9 -5
- package/dist/cjs/plugins/deploy/platforms/netlify.js +9 -5
- package/dist/cjs/plugins/deploy/platforms/node.js +9 -5
- package/dist/cjs/plugins/deploy/platforms/templates/cloudflare-entry.mjs +141 -16
- package/dist/cjs/plugins/deploy/platforms/vercel.js +9 -5
- package/dist/cjs/plugins/deploy/utils/generator.js +9 -5
- package/dist/cjs/plugins/deploy/utils/index.js +19 -40
- package/dist/cjs/plugins/initialize/index.js +19 -6
- package/dist/cjs/plugins/serverBuild.js +9 -5
- package/dist/cjs/plugins/serverRuntime.js +12 -8
- package/dist/cjs/presetUltramodern.js +96 -7
- package/dist/cjs/rsbuild.js +55 -67
- package/dist/cjs/run/index.js +9 -5
- package/dist/cjs/types/config/cloudflareDeploy.js +18 -0
- package/dist/cjs/types/config/index.js +9 -5
- package/dist/cjs/types/config/precompress.js +18 -0
- package/dist/cjs/types/index.js +9 -5
- package/dist/cjs/ultramodern/designSystem.js +16 -12
- package/dist/cjs/utils/config.js +9 -5
- package/dist/cjs/utils/createServer.js +14 -10
- package/dist/cjs/utils/env.js +9 -5
- package/dist/cjs/utils/generateWatchFiles.js +9 -5
- package/dist/cjs/utils/getConfigFile.js +9 -5
- package/dist/cjs/utils/getSelectedEntries.js +9 -5
- package/dist/cjs/utils/initAppContext.js +9 -5
- package/dist/cjs/utils/loadPlugins.js +9 -5
- package/dist/cjs/utils/printInstructions.js +9 -5
- package/dist/cjs/utils/register.js +9 -5
- package/dist/cjs/utils/restart.js +9 -5
- package/dist/cjs/utils/routes.js +9 -5
- package/dist/esm/baseline.mjs +3 -77
- package/dist/esm/builder/generator/getBuilderEnvironments.mjs +32 -4
- package/dist/esm/builder/generator/index.mjs +7 -0
- package/dist/esm/builder/shared/builderPlugins/adapterHtml.mjs +1 -1
- package/dist/esm/builder/shared/builderPlugins/adapterSSR.mjs +31 -5
- package/dist/esm/builder/shared/bundlerPlugins/RouterPlugin.mjs +32 -3
- package/dist/esm/builder/shared/lazyCompilation.mjs +44 -0
- package/dist/esm/commands/index.mjs +2 -5
- package/dist/esm/commands/runtime.mjs +33 -3
- package/dist/esm/config/default.mjs +14 -1
- package/dist/esm/index.mjs +3 -2
- package/dist/esm/plugins/analyze/index.mjs +3 -1
- package/dist/esm/plugins/analyze/isDefaultExportFunction.mjs +1 -1
- package/dist/esm/plugins/deploy/platforms/cloudflare.mjs +176 -2
- package/dist/esm/plugins/deploy/platforms/templates/cloudflare-entry.mjs +141 -16
- package/dist/esm/plugins/deploy/utils/index.mjs +11 -36
- package/dist/esm/plugins/initialize/index.mjs +11 -2
- package/dist/esm/presetUltramodern.mjs +77 -3
- package/dist/esm/rsbuild.mjs +1 -8
- package/dist/esm/types/config/cloudflareDeploy.mjs +0 -0
- package/dist/esm/types/config/precompress.mjs +0 -0
- package/dist/esm-node/baseline.mjs +3 -77
- package/dist/esm-node/builder/generator/getBuilderEnvironments.mjs +32 -4
- package/dist/esm-node/builder/generator/index.mjs +7 -0
- package/dist/esm-node/builder/shared/builderPlugins/adapterHtml.mjs +1 -1
- package/dist/esm-node/builder/shared/builderPlugins/adapterSSR.mjs +31 -5
- package/dist/esm-node/builder/shared/bundlerPlugins/RouterPlugin.mjs +32 -3
- package/dist/esm-node/builder/shared/lazyCompilation.mjs +45 -0
- package/dist/esm-node/commands/index.mjs +2 -5
- package/dist/esm-node/commands/runtime.mjs +33 -3
- package/dist/esm-node/config/default.mjs +14 -1
- package/dist/esm-node/index.mjs +3 -2
- package/dist/esm-node/plugins/analyze/index.mjs +3 -1
- package/dist/esm-node/plugins/analyze/isDefaultExportFunction.mjs +1 -1
- package/dist/esm-node/plugins/deploy/platforms/cloudflare.mjs +176 -2
- package/dist/esm-node/plugins/deploy/platforms/templates/cloudflare-entry.mjs +141 -16
- package/dist/esm-node/plugins/deploy/utils/index.mjs +12 -36
- package/dist/esm-node/plugins/initialize/index.mjs +11 -2
- package/dist/esm-node/presetUltramodern.mjs +77 -3
- package/dist/esm-node/rsbuild.mjs +1 -8
- package/dist/esm-node/types/config/cloudflareDeploy.mjs +1 -0
- package/dist/esm-node/types/config/precompress.mjs +1 -0
- package/dist/types/baseline.d.ts +16 -46
- package/dist/types/builder/builder-rspack/index.d.ts +1 -1
- package/dist/types/builder/generator/index.d.ts +1 -1
- package/dist/types/builder/shared/bundlerPlugins/RouterPlugin.d.ts +3 -1
- package/dist/types/builder/shared/createCopyInfo.d.ts +1 -1
- package/dist/types/builder/shared/lazyCompilation.d.ts +43 -0
- package/dist/types/builder/shared/types.d.ts +10 -0
- package/dist/types/commands/index.d.ts +1 -1
- package/dist/types/commands/inspect.d.ts +1 -1
- package/dist/types/commands/runtime.d.ts +1 -0
- package/dist/types/config/default.d.ts +6 -0
- package/dist/types/locale/index.d.ts +89 -2
- package/dist/types/plugins/analyze/getFileSystemEntry.d.ts +2 -2
- package/dist/types/plugins/analyze/index.d.ts +1 -1
- package/dist/types/plugins/analyze/utils.d.ts +1 -1
- package/dist/types/plugins/deploy/index.d.ts +1 -1
- package/dist/types/plugins/deploy/platforms/templates/cloudflare-entry.d.mts +1 -1
- package/dist/types/plugins/deploy/platforms/templates/netlify-entry.d.cts +1 -1
- package/dist/types/plugins/deploy/platforms/templates/vercel-entry.d.cts +1 -1
- package/dist/types/plugins/deploy/utils/generator.d.ts +2 -2
- package/dist/types/plugins/deploy/utils/index.d.ts +1 -1
- package/dist/types/plugins/initialize/index.d.ts +1 -1
- package/dist/types/plugins/serverBuild.d.ts +1 -1
- package/dist/types/plugins/serverRuntime.d.ts +1 -1
- package/dist/types/presetUltramodern.d.ts +52 -2
- package/dist/types/rsbuild.d.ts +1 -1
- package/dist/types/run/index.d.ts +1 -1
- package/dist/types/types/config/cloudflareDeploy.d.ts +79 -0
- package/dist/types/types/config/deploy.d.ts +9 -15
- package/dist/types/types/config/output.d.ts +4 -20
- package/dist/types/types/config/precompress.d.ts +20 -0
- package/dist/types/types/plugin.d.ts +20 -0
- package/dist/types/utils/getConfigFile.d.ts +1 -1
- package/dist/types/utils/loadPlugins.d.ts +2 -2
- package/package.json +26 -21
- package/dist/esm/rslib-runtime.mjs +0 -18
- package/dist/esm-node/rslib-runtime.mjs +0 -19
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { AppContext, AsyncHook, InternalContext, PluginHook, PluginHookTap, TransformFunction } from '@modern-js/plugin';
|
|
2
2
|
import type { Hooks } from '@modern-js/plugin/cli';
|
|
3
3
|
import type { Entrypoint, HtmlPartials, HtmlTemplates, NestedRouteForCli, PageRoute, RouteLegacy, ServerPlugin, ServerRoute } from '@modern-js/types';
|
|
4
|
+
import type { EagerRouteComponentFilesByEntry } from '@modern-js/utils';
|
|
5
|
+
import type { EnvironmentConfig } from '@rsbuild/core';
|
|
4
6
|
import type { getHookRunners } from '../compat/hooks';
|
|
5
7
|
import type { AppTools } from '.';
|
|
6
8
|
import type { AppToolsNormalizedConfig, AppToolsUserConfig } from './config';
|
|
@@ -12,6 +14,9 @@ export type CheckEntryPointFn = TransformFunction<{
|
|
|
12
14
|
export type ModifyEntrypointsFn = TransformFunction<{
|
|
13
15
|
entrypoints: Entrypoint[];
|
|
14
16
|
}>;
|
|
17
|
+
export type ModifyBuilderEnvironmentsFn = TransformFunction<{
|
|
18
|
+
environments: Record<string, EnvironmentConfig>;
|
|
19
|
+
}>;
|
|
15
20
|
export type ModifyFileSystemRoutesFn = TransformFunction<{
|
|
16
21
|
entrypoint: Entrypoint;
|
|
17
22
|
routes: RouteLegacy[] | (NestedRouteForCli | PageRoute)[];
|
|
@@ -33,6 +38,7 @@ export interface AppToolsExtendAPI {
|
|
|
33
38
|
deploy: PluginHookTap<DeplpoyFn>;
|
|
34
39
|
checkEntryPoint: PluginHookTap<CheckEntryPointFn>;
|
|
35
40
|
modifyEntrypoints: PluginHookTap<ModifyEntrypointsFn>;
|
|
41
|
+
modifyBuilderEnvironments: PluginHookTap<ModifyBuilderEnvironmentsFn>;
|
|
36
42
|
modifyFileSystemRoutes: PluginHookTap<ModifyFileSystemRoutesFn>;
|
|
37
43
|
generateEntryCode: PluginHookTap<GenerateEntryCodeFn>;
|
|
38
44
|
onBeforeGenerateRoutes: PluginHookTap<BeforeGenerateRoutesFn>;
|
|
@@ -62,6 +68,7 @@ export interface AppToolsExtendHooks extends Record<string, PluginHook<(...args:
|
|
|
62
68
|
deploy: AsyncHook<DeplpoyFn>;
|
|
63
69
|
checkEntryPoint: AsyncHook<CheckEntryPointFn>;
|
|
64
70
|
modifyEntrypoints: AsyncHook<ModifyEntrypointsFn>;
|
|
71
|
+
modifyBuilderEnvironments: AsyncHook<ModifyBuilderEnvironmentsFn>;
|
|
65
72
|
modifyFileSystemRoutes: AsyncHook<ModifyFileSystemRoutesFn>;
|
|
66
73
|
generateEntryCode: AsyncHook<GenerateEntryCodeFn>;
|
|
67
74
|
onBeforeGenerateRoutes: AsyncHook<BeforeGenerateRoutesFn>;
|
|
@@ -109,6 +116,19 @@ export interface AppToolsExtendContext {
|
|
|
109
116
|
* @private
|
|
110
117
|
*/
|
|
111
118
|
bffRuntimeFramework?: 'hono' | 'effect';
|
|
119
|
+
/**
|
|
120
|
+
* Route component files collected from the FINAL file-system routes (after all
|
|
121
|
+
* `modifyFileSystemRoutes` consumers ran), keyed by entry name. Populated by
|
|
122
|
+
* the router plugin during route generation and consumed (currently by stream
|
|
123
|
+
* SSR lazy compilation) to force route component chunks eager.
|
|
124
|
+
*
|
|
125
|
+
* Published via the app context (`api.updateAppContext`) by the router plugin,
|
|
126
|
+
* then read fresh when assembling the builder options and threaded into
|
|
127
|
+
* `BuilderOptions.eagerRouteComponentFilesByEntry`; the SSR builder plugin
|
|
128
|
+
* reads it from those options (not from the context directly).
|
|
129
|
+
* @private
|
|
130
|
+
*/
|
|
131
|
+
eagerRouteComponentFilesByEntry?: EagerRouteComponentFilesByEntry;
|
|
112
132
|
}
|
|
113
133
|
export type AppToolsContext = AppContext<AppTools> & AppToolsExtendContext;
|
|
114
134
|
export type AppToolsHooks = Hooks<AppToolsUserConfig, AppToolsNormalizedConfig, {}, {}> & AppToolsExtendHooks;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getConfigFile: (configFile?: string, cwd?: string) =>
|
|
1
|
+
export declare const getConfigFile: (configFile?: string, cwd?: string) => string | false;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CLIPluginAPI } from '@modern-js/plugin';
|
|
1
|
+
import type { CLIPluginAPI, Plugin } from '@modern-js/plugin';
|
|
2
2
|
import type { ServerPlugin as ServerPluginInstance } from '@modern-js/server-core';
|
|
3
3
|
import type { InternalPlugins, ServerPlugin } from '@modern-js/types';
|
|
4
4
|
import type { AppTools } from '../types';
|
|
@@ -10,4 +10,4 @@ export declare function loadServerPlugins(api: CLIPluginAPI<AppTools>, appDirect
|
|
|
10
10
|
* @param internalPlugins - Internal plugins.
|
|
11
11
|
* @returns Plugin Objects has been required.
|
|
12
12
|
*/
|
|
13
|
-
export declare const loadInternalPlugins: (appDirectory: string, internalPlugins?: InternalPlugins) => Promise<
|
|
13
|
+
export declare const loadInternalPlugins: (appDirectory: string, internalPlugins?: InternalPlugins) => Promise<Plugin[]>;
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"modern",
|
|
18
18
|
"modern.js"
|
|
19
19
|
],
|
|
20
|
-
"version": "3.
|
|
20
|
+
"version": "3.4.0-ultramodern.1",
|
|
21
21
|
"types": "./dist/types/index.d.ts",
|
|
22
22
|
"main": "./dist/cjs/index.js",
|
|
23
23
|
"exports": {
|
|
@@ -82,48 +82,53 @@
|
|
|
82
82
|
"modern-app": "bin/modern.js"
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|
|
85
|
-
"@babel/parser": "^
|
|
86
|
-
"@babel/traverse": "^
|
|
87
|
-
"@babel/types": "^
|
|
85
|
+
"@babel/parser": "^8.0.0",
|
|
86
|
+
"@babel/traverse": "^8.0.0",
|
|
87
|
+
"@babel/types": "^8.0.0",
|
|
88
88
|
"@loadable/component": "5.16.7",
|
|
89
|
-
"@rsbuild/core": "2.0.
|
|
90
|
-
"@swc/core": "1.15.
|
|
89
|
+
"@rsbuild/core": "2.0.15",
|
|
90
|
+
"@swc/core": "1.15.43",
|
|
91
91
|
"@swc/helpers": "^0.5.23",
|
|
92
92
|
"compression-webpack-plugin": "^12.0.0",
|
|
93
93
|
"es-module-lexer": "^2.1.0",
|
|
94
|
-
"esbuild": "^0.28.
|
|
95
|
-
"esbuild-register": "^3.6.0",
|
|
94
|
+
"esbuild": "^0.28.1",
|
|
96
95
|
"flatted": "^3.4.2",
|
|
97
96
|
"import-meta-resolve": "^4.2.0",
|
|
98
97
|
"mlly": "^1.8.2",
|
|
99
98
|
"ndepe": "^0.1.13",
|
|
100
99
|
"pkg-types": "^2.3.1",
|
|
101
100
|
"std-env": "4.1.0",
|
|
102
|
-
"@modern-js/
|
|
103
|
-
"@modern-js/plugin": "npm:@bleedingdev/modern-js-plugin@3.
|
|
104
|
-
"@modern-js/
|
|
105
|
-
"@modern-js/
|
|
106
|
-
"@modern-js/
|
|
107
|
-
"@modern-js/server-core": "npm:@bleedingdev/modern-js-server-core@3.
|
|
108
|
-
"@modern-js/
|
|
109
|
-
"@modern-js/
|
|
110
|
-
"@modern-js/
|
|
111
|
-
"@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.
|
|
101
|
+
"@modern-js/builder": "npm:@bleedingdev/modern-js-builder@3.4.0-ultramodern.1",
|
|
102
|
+
"@modern-js/plugin": "npm:@bleedingdev/modern-js-plugin@3.4.0-ultramodern.1",
|
|
103
|
+
"@modern-js/i18n-utils": "npm:@bleedingdev/modern-js-i18n-utils@3.4.0-ultramodern.1",
|
|
104
|
+
"@modern-js/plugin-data-loader": "npm:@bleedingdev/modern-js-plugin-data-loader@3.4.0-ultramodern.1",
|
|
105
|
+
"@modern-js/server": "npm:@bleedingdev/modern-js-server@3.4.0-ultramodern.1",
|
|
106
|
+
"@modern-js/server-core": "npm:@bleedingdev/modern-js-server-core@3.4.0-ultramodern.1",
|
|
107
|
+
"@modern-js/server-utils": "npm:@bleedingdev/modern-js-server-utils@3.4.0-ultramodern.1",
|
|
108
|
+
"@modern-js/types": "npm:@bleedingdev/modern-js-types@3.4.0-ultramodern.1",
|
|
109
|
+
"@modern-js/prod-server": "npm:@bleedingdev/modern-js-prod-server@3.4.0-ultramodern.1",
|
|
110
|
+
"@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.4.0-ultramodern.1"
|
|
112
111
|
},
|
|
113
112
|
"devDependencies": {
|
|
114
|
-
"@rslib/core": "0.
|
|
113
|
+
"@rslib/core": "0.23.0",
|
|
115
114
|
"@types/babel__traverse": "7.28.0",
|
|
116
|
-
"@types/node": "^
|
|
117
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
115
|
+
"@types/node": "^26.0.0",
|
|
116
|
+
"@typescript/native-preview": "7.0.0-dev.20260624.1",
|
|
117
|
+
"ts-node": "^10.9.2",
|
|
118
118
|
"tsconfig-paths": "^4.2.0",
|
|
119
|
+
"typescript": "^6.0.3",
|
|
119
120
|
"@scripts/rstest-config": "2.66.0"
|
|
120
121
|
},
|
|
121
122
|
"peerDependencies": {
|
|
123
|
+
"ts-node": "^10.9.2",
|
|
122
124
|
"tsconfig-paths": "^4.2.0"
|
|
123
125
|
},
|
|
124
126
|
"peerDependenciesMeta": {
|
|
125
127
|
"tsconfig-paths": {
|
|
126
128
|
"optional": true
|
|
129
|
+
},
|
|
130
|
+
"ts-node": {
|
|
131
|
+
"optional": true
|
|
127
132
|
}
|
|
128
133
|
},
|
|
129
134
|
"sideEffects": false,
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
var __webpack_modules__ = {};
|
|
2
|
-
var __webpack_module_cache__ = {};
|
|
3
|
-
function __webpack_require__(moduleId) {
|
|
4
|
-
var cachedModule = __webpack_module_cache__[moduleId];
|
|
5
|
-
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
6
|
-
var module = __webpack_module_cache__[moduleId] = {
|
|
7
|
-
exports: {}
|
|
8
|
-
};
|
|
9
|
-
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
10
|
-
return module.exports;
|
|
11
|
-
}
|
|
12
|
-
__webpack_require__.m = __webpack_modules__;
|
|
13
|
-
(()=>{
|
|
14
|
-
__webpack_require__.add = function(modules) {
|
|
15
|
-
Object.assign(__webpack_require__.m, modules);
|
|
16
|
-
};
|
|
17
|
-
})();
|
|
18
|
-
export { __webpack_require__ };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import "node:module";
|
|
2
|
-
var __webpack_modules__ = {};
|
|
3
|
-
var __webpack_module_cache__ = {};
|
|
4
|
-
function __webpack_require__(moduleId) {
|
|
5
|
-
var cachedModule = __webpack_module_cache__[moduleId];
|
|
6
|
-
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
7
|
-
var module = __webpack_module_cache__[moduleId] = {
|
|
8
|
-
exports: {}
|
|
9
|
-
};
|
|
10
|
-
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
11
|
-
return module.exports;
|
|
12
|
-
}
|
|
13
|
-
__webpack_require__.m = __webpack_modules__;
|
|
14
|
-
(()=>{
|
|
15
|
-
__webpack_require__.add = function(modules) {
|
|
16
|
-
Object.assign(__webpack_require__.m, modules);
|
|
17
|
-
};
|
|
18
|
-
})();
|
|
19
|
-
export { __webpack_require__ };
|