@4399ywkf/core 5.1.3 → 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.
@@ -1,5 +1,5 @@
1
- import { Q as YwkfPlugin, e as PluginHooks, Y as YwkfConfig, f as PluginConfig, U as RouteItem } from '../schema-C91lhskq.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-C91lhskq.js';
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';
@@ -1,5 +1,5 @@
1
1
  import { Configuration } from '@rspack/core';
2
- import { Y as YwkfConfig } from '../schema-C91lhskq.js';
2
+ import { Y as YwkfConfig } from '../schema-CuEnqbqQ.js';
3
3
  import '../types-BYqzyGAY.js';
4
4
  import 'react';
5
5
  import 'react-router';
@@ -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
  },