@4399ywkf/core 5.0.31 → 5.1.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.
@@ -1,5 +1,5 @@
1
- import { Y as YwkfConfig } from '../schema-CMyZyL6E.js';
2
- export { B as BuiltinPluginConfig, D as DevServerConfig, E as EnvConfig, H as HtmlConfig, M as MicroFrontendConfig, O as OptionalPluginConfig, b as OutputConfig, P as PerformanceConfig, R as RouterConfig, S as StyleConfig, T as ToolsConfig, c as YwkfUserConfig, d as defaultConfig, a as defineConfig } from '../schema-CMyZyL6E.js';
1
+ import { Y as YwkfConfig } from '../schema-C91lhskq.js';
2
+ export { B as BuiltinPluginConfig, D as DevServerConfig, E as EnvConfig, H as HtmlConfig, M as MicroFrontendConfig, O as OptionalPluginConfig, b as OutputConfig, P as PerformanceConfig, R as RouterConfig, S as StyleConfig, T as ToolsConfig, c as YwkfUserConfig, d as defaultConfig, a as defineConfig } from '../schema-C91lhskq.js';
3
3
  import '@rspack/core';
4
4
  import '../types-BYqzyGAY.js';
5
5
  import 'react';
@@ -367,8 +367,7 @@ var garfishPlugin = createPlugin((options = {}) => ({
367
367
  if (!master) {
368
368
  rspackConfig.output = {
369
369
  ...rspackConfig.output,
370
- library: finalAppName,
371
- libraryTarget: "umd",
370
+ library: { type: "umd", name: finalAppName },
372
371
  globalObject: "window",
373
372
  chunkLoadingGlobal: `garfish_${finalAppName}`
374
373
  };
@@ -2115,6 +2114,7 @@ function defineConfig(config) {
2115
2114
  var defaultConfig = {
2116
2115
  appName: "app",
2117
2116
  appCName: "\u5E94\u7528",
2117
+ strictMode: true,
2118
2118
  dev: {
2119
2119
  port: 3e3,
2120
2120
  host: "localhost",