@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.
- package/dist/cli/index.js +8 -10
- package/dist/cli/index.js.map +1 -1
- package/dist/config/index.d.ts +2 -2
- package/dist/config/index.js +2 -2
- package/dist/config/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -10
- 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 +7 -8
- package/dist/rspack/index.js.map +1 -1
- package/dist/{schema-CMyZyL6E.d.ts → schema-C91lhskq.d.ts} +2 -0
- package/package.json +8 -10
package/dist/config/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Y as YwkfConfig } from '../schema-
|
|
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-
|
|
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';
|
package/dist/config/index.js
CHANGED
|
@@ -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",
|