@4399ywkf/core 5.1.4 → 5.1.5
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/cli/index.js +4 -2
- package/dist/cli/index.js.map +1 -1
- package/dist/config/index.d.ts +2 -2
- package/dist/config/index.js +1 -0
- package/dist/config/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/plugin/index.d.ts +2 -2
- package/dist/rspack/index.d.ts +1 -1
- package/dist/rspack/index.js +3 -2
- package/dist/rspack/index.js.map +1 -1
- package/dist/{schema-C91lhskq.d.ts → schema-CuEnqbqQ.d.ts} +5 -0
- package/package.json +5 -5
package/dist/plugin/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Q as YwkfPlugin, e as PluginHooks, Y as YwkfConfig, f as PluginConfig, U as RouteItem } from '../schema-
|
|
2
|
-
export { y as BuildHooks, C as CodeInjection, V as DefinePlugin, F as GeneratedFile, G as GeneratorContext, J as GeneratorHooks, W as PluginAPI, K as PluginContext, X as PluginLogger, L as RouterHooks, N as RuntimeHooks } from '../schema-
|
|
1
|
+
import { Q as YwkfPlugin, e as PluginHooks, Y as YwkfConfig, f as PluginConfig, U as RouteItem } from '../schema-CuEnqbqQ.js';
|
|
2
|
+
export { y as BuildHooks, C as CodeInjection, V as DefinePlugin, F as GeneratedFile, G as GeneratorContext, J as GeneratorHooks, W as PluginAPI, K as PluginContext, X as PluginLogger, L as RouterHooks, N as RuntimeHooks } from '../schema-CuEnqbqQ.js';
|
|
3
3
|
import { Configuration } from '@rspack/core';
|
|
4
4
|
import { a as AppConfig, P as ProviderConfig } from '../types-BYqzyGAY.js';
|
|
5
5
|
import 'react';
|
package/dist/rspack/index.d.ts
CHANGED
package/dist/rspack/index.js
CHANGED
|
@@ -3020,7 +3020,7 @@ var coreNodeModules = join12(__dirname, "../../node_modules");
|
|
|
3020
3020
|
function createBaseConfig(config, cwd, options = {}) {
|
|
3021
3021
|
const isDev = options.isDev ?? process.env.NODE_ENV !== "production";
|
|
3022
3022
|
const { resolveApp } = createPathResolver(cwd);
|
|
3023
|
-
const { appName, appCName, output, html, alias: userAlias, microFrontend, router } = config;
|
|
3023
|
+
const { appName, appCName, output, html, alias: userAlias, microFrontend, router, reactCompiler } = config;
|
|
3024
3024
|
const ywkfOutputDir = resolveApp(".ywkf");
|
|
3025
3025
|
const defaultAlias = {
|
|
3026
3026
|
"@": resolveApp("src"),
|
|
@@ -3106,7 +3106,8 @@ function createBaseConfig(config, cwd, options = {}) {
|
|
|
3106
3106
|
runtime: "automatic",
|
|
3107
3107
|
development: isDev,
|
|
3108
3108
|
refresh: isDev
|
|
3109
|
-
}
|
|
3109
|
+
},
|
|
3110
|
+
...reactCompiler ? { reactCompiler } : {}
|
|
3110
3111
|
},
|
|
3111
3112
|
target: "es2015"
|
|
3112
3113
|
},
|