@modern-js/uni-builder 0.0.0-nightly-20240129170639 → 0.0.0-nightly-20240131170643
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.
|
@@ -40,9 +40,10 @@ const pluginBabelPost = () => ({
|
|
|
40
40
|
],
|
|
41
41
|
setup(api) {
|
|
42
42
|
api.modifyBundlerChain(async (chain, { CHAIN_ID }) => {
|
|
43
|
+
const config = api.getNormalizedConfig();
|
|
43
44
|
if (chain.module.rules.get(CHAIN_ID.RULE.JS)) {
|
|
44
45
|
const babelLoaderOptions = chain.module.rule(CHAIN_ID.RULE.JS).use(CHAIN_ID.USE.BABEL).get("options");
|
|
45
|
-
if (babelLoaderOptions && (0, import_isEqual.default)((0, import_plugin_babel.getDefaultBabelOptions)(), babelLoaderOptions)) {
|
|
46
|
+
if (babelLoaderOptions && (0, import_isEqual.default)((0, import_plugin_babel.getDefaultBabelOptions)(config.source.decorators), babelLoaderOptions)) {
|
|
46
47
|
chain.module.rule(CHAIN_ID.RULE.JS).uses.delete(CHAIN_ID.USE.BABEL);
|
|
47
48
|
}
|
|
48
49
|
}
|
|
@@ -93,16 +93,33 @@ async function getBrowserslistWithDefault(path, config, target) {
|
|
|
93
93
|
return DEFAULT_BROWSERSLIST[target];
|
|
94
94
|
}
|
|
95
95
|
async function parseCommonConfig(uniBuilderConfig, options) {
|
|
96
|
-
var
|
|
96
|
+
var _newDevServerConfig_devMiddleware, _uniBuilderConfig_output, _uniBuilderConfig_tools;
|
|
97
97
|
var _output, _output_distPath, _output_distPath1, _output1, _extraConfig, _html, _extraConfig1;
|
|
98
98
|
const { cwd, frameworkConfigPath, entry, target } = options;
|
|
99
|
-
const
|
|
100
|
-
const
|
|
101
|
-
|
|
99
|
+
const { plugins: [...plugins] = [], performance: { ...performanceConfig } = {}, output: { enableLatestDecorators, cssModuleLocalIdentName, enableInlineScripts, disableCssExtract, enableInlineStyles, disableCssModuleExtension, disableTsChecker, disableSvgr, svgDefaultExport, assetsRetry, enableAssetFallback, disableSourceMap, convertToRem, ...outputConfig } = {}, html: { disableHtmlFolder, metaByEntries, titleByEntries, faviconByEntries, injectByEntries, templateByEntries, templateParametersByEntries, ...htmlConfig } = {}, source: { alias, globalVars, resolveMainFields, resolveExtensionPrefix, ...sourceConfig } = {}, dev: { port, host, https, ...devConfig } = {}, security: { checkSyntax, sri, ...securityConfig } = {}, tools: { devServer, tsChecker, minifyCss, ...toolsConfig } = {} } = uniBuilderConfig;
|
|
100
|
+
const rsbuildConfig = {
|
|
101
|
+
plugins,
|
|
102
|
+
output: outputConfig,
|
|
103
|
+
source: {
|
|
104
|
+
alias,
|
|
105
|
+
...sourceConfig
|
|
106
|
+
},
|
|
107
|
+
performance: performanceConfig,
|
|
108
|
+
html: htmlConfig,
|
|
109
|
+
tools: toolsConfig,
|
|
110
|
+
dev: devConfig,
|
|
111
|
+
security: securityConfig
|
|
112
|
+
};
|
|
113
|
+
const { dev = {}, html = {}, output = {}, source = {} } = rsbuildConfig;
|
|
114
|
+
if (enableLatestDecorators) {
|
|
115
|
+
source.decorators = {
|
|
116
|
+
version: "2022-03"
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
if (cssModuleLocalIdentName) {
|
|
102
120
|
var _output2;
|
|
103
121
|
(_output2 = output).cssModules || (_output2.cssModules = {});
|
|
104
|
-
output.cssModules.localIdentName =
|
|
105
|
-
delete output.cssModuleLocalIdentName;
|
|
122
|
+
output.cssModules.localIdentName = cssModuleLocalIdentName;
|
|
106
123
|
}
|
|
107
124
|
var _distPath;
|
|
108
125
|
(_distPath = (_output = output).distPath) !== null && _distPath !== void 0 ? _distPath : _output.distPath = {};
|
|
@@ -112,22 +129,17 @@ async function parseCommonConfig(uniBuilderConfig, options) {
|
|
|
112
129
|
(_server = (_output_distPath1 = output.distPath).server) !== null && _server !== void 0 ? _server : _output_distPath1.server = "bundles";
|
|
113
130
|
var _polyfill;
|
|
114
131
|
(_polyfill = (_output1 = output).polyfill) !== null && _polyfill !== void 0 ? _polyfill : _output1.polyfill = "entry";
|
|
115
|
-
if (
|
|
132
|
+
if (disableCssModuleExtension) {
|
|
116
133
|
var _output3, _output_cssModules;
|
|
117
134
|
(_output3 = output).cssModules || (_output3.cssModules = {});
|
|
118
135
|
var _auto;
|
|
119
136
|
(_auto = (_output_cssModules = output.cssModules).auto) !== null && _auto !== void 0 ? _auto : _output_cssModules.auto = isLooseCssModules;
|
|
120
|
-
delete output.cssModuleLocalIdentName;
|
|
121
137
|
}
|
|
122
|
-
if (
|
|
123
|
-
|
|
124
|
-
output.inlineScripts = (_uniBuilderConfig_output10 = uniBuilderConfig.output) === null || _uniBuilderConfig_output10 === void 0 ? void 0 : _uniBuilderConfig_output10.enableInlineScripts;
|
|
125
|
-
delete output.enableInlineScripts;
|
|
138
|
+
if (enableInlineScripts) {
|
|
139
|
+
output.inlineScripts = enableInlineScripts;
|
|
126
140
|
}
|
|
127
|
-
if (
|
|
128
|
-
|
|
129
|
-
output.injectStyles = (_uniBuilderConfig_output11 = uniBuilderConfig.output) === null || _uniBuilderConfig_output11 === void 0 ? void 0 : _uniBuilderConfig_output11.disableCssExtract;
|
|
130
|
-
delete output.disableCssExtract;
|
|
141
|
+
if (disableCssExtract) {
|
|
142
|
+
output.injectStyles = disableCssExtract;
|
|
131
143
|
}
|
|
132
144
|
const targets = Array.isArray(target) ? target : [
|
|
133
145
|
target || "web"
|
|
@@ -138,40 +150,31 @@ async function parseCommonConfig(uniBuilderConfig, options) {
|
|
|
138
150
|
overrideBrowserslist[target2] = await getBrowserslistWithDefault(cwd, uniBuilderConfig, target2);
|
|
139
151
|
}
|
|
140
152
|
output.overrideBrowserslist = overrideBrowserslist;
|
|
141
|
-
if (
|
|
142
|
-
|
|
143
|
-
output.inlineStyles = (_uniBuilderConfig_output12 = uniBuilderConfig.output) === null || _uniBuilderConfig_output12 === void 0 ? void 0 : _uniBuilderConfig_output12.enableInlineStyles;
|
|
144
|
-
delete output.enableInlineStyles;
|
|
153
|
+
if (enableInlineStyles) {
|
|
154
|
+
output.inlineStyles = enableInlineStyles;
|
|
145
155
|
}
|
|
146
156
|
const extraConfig = {};
|
|
147
157
|
(_extraConfig = extraConfig).html || (_extraConfig.html = {});
|
|
148
|
-
extraConfig.html.outputStructure =
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
extraConfig.html.meta = ({ entryName }) => uniBuilderConfig.html.metaByEntries[entryName];
|
|
152
|
-
delete html.metaByEntries;
|
|
158
|
+
extraConfig.html.outputStructure = disableHtmlFolder ? "flat" : "nested";
|
|
159
|
+
if (metaByEntries) {
|
|
160
|
+
extraConfig.html.meta = ({ entryName }) => metaByEntries[entryName];
|
|
153
161
|
}
|
|
154
162
|
var _title;
|
|
155
163
|
(_title = (_html = html).title) !== null && _title !== void 0 ? _title : _html.title = "";
|
|
156
|
-
if (
|
|
157
|
-
extraConfig.html.title = ({ entryName }) =>
|
|
158
|
-
delete html.titleByEntries;
|
|
164
|
+
if (titleByEntries) {
|
|
165
|
+
extraConfig.html.title = ({ entryName }) => titleByEntries[entryName];
|
|
159
166
|
}
|
|
160
|
-
if (
|
|
161
|
-
extraConfig.html.favicon = ({ entryName }) =>
|
|
162
|
-
delete html.faviconByEntries;
|
|
167
|
+
if (faviconByEntries) {
|
|
168
|
+
extraConfig.html.favicon = ({ entryName }) => faviconByEntries[entryName];
|
|
163
169
|
}
|
|
164
|
-
if (
|
|
165
|
-
extraConfig.html.inject = ({ entryName }) =>
|
|
166
|
-
delete html.injectByEntries;
|
|
170
|
+
if (injectByEntries) {
|
|
171
|
+
extraConfig.html.inject = ({ entryName }) => injectByEntries[entryName];
|
|
167
172
|
}
|
|
168
|
-
if (
|
|
169
|
-
extraConfig.html.template = ({ entryName }) =>
|
|
170
|
-
delete html.templateByEntries;
|
|
173
|
+
if (templateByEntries) {
|
|
174
|
+
extraConfig.html.template = ({ entryName }) => templateByEntries[entryName];
|
|
171
175
|
}
|
|
172
|
-
if (
|
|
173
|
-
extraConfig.html.templateParameters = (_, { entryName }) =>
|
|
174
|
-
delete html.templateParametersByEntries;
|
|
176
|
+
if (templateParametersByEntries) {
|
|
177
|
+
extraConfig.html.templateParameters = (_, { entryName }) => templateParametersByEntries[entryName];
|
|
175
178
|
}
|
|
176
179
|
var _tools;
|
|
177
180
|
(_tools = (_extraConfig1 = extraConfig).tools) !== null && _tools !== void 0 ? _tools : _extraConfig1.tools = {};
|
|
@@ -192,7 +195,7 @@ async function parseCommonConfig(uniBuilderConfig, options) {
|
|
|
192
195
|
dev.progressBar = true;
|
|
193
196
|
}
|
|
194
197
|
var _dev_hmr;
|
|
195
|
-
const
|
|
198
|
+
const newDevServerConfig = (0, import_shared.mergeChainedOptions)({
|
|
196
199
|
defaults: {
|
|
197
200
|
devMiddleware: {
|
|
198
201
|
writeToDisk: (file) => !file.includes(".hot-update.")
|
|
@@ -203,25 +206,21 @@ async function parseCommonConfig(uniBuilderConfig, options) {
|
|
|
203
206
|
path: "/webpack-hmr"
|
|
204
207
|
}
|
|
205
208
|
},
|
|
206
|
-
options:
|
|
209
|
+
options: devServer,
|
|
207
210
|
mergeFn: import_shared.deepmerge
|
|
208
211
|
});
|
|
209
|
-
dev.writeToDisk = (
|
|
210
|
-
dev.hmr =
|
|
211
|
-
dev.client =
|
|
212
|
-
dev.liveReload =
|
|
212
|
+
dev.writeToDisk = (_newDevServerConfig_devMiddleware = newDevServerConfig.devMiddleware) === null || _newDevServerConfig_devMiddleware === void 0 ? void 0 : _newDevServerConfig_devMiddleware.writeToDisk;
|
|
213
|
+
dev.hmr = newDevServerConfig.hot;
|
|
214
|
+
dev.client = newDevServerConfig.client;
|
|
215
|
+
dev.liveReload = newDevServerConfig.liveReload;
|
|
213
216
|
const server = (0, import_shared.isProd)() ? {
|
|
214
217
|
publicDir: false
|
|
215
218
|
} : {
|
|
216
219
|
publicDir: false,
|
|
217
|
-
port
|
|
218
|
-
host
|
|
219
|
-
https:
|
|
220
|
+
port,
|
|
221
|
+
host,
|
|
222
|
+
https: https ? https : void 0
|
|
220
223
|
};
|
|
221
|
-
delete tools.devServer;
|
|
222
|
-
delete dev.https;
|
|
223
|
-
delete dev.port;
|
|
224
|
-
delete dev.host;
|
|
225
224
|
rsbuildConfig.server = removeUndefinedKey(server);
|
|
226
225
|
rsbuildConfig.dev = removeUndefinedKey(dev);
|
|
227
226
|
rsbuildConfig.html = html;
|
|
@@ -234,58 +233,48 @@ async function parseCommonConfig(uniBuilderConfig, options) {
|
|
|
234
233
|
}
|
|
235
234
|
const rsbuildPlugins = [
|
|
236
235
|
(0, import_splitChunk.pluginSplitChunks)(),
|
|
237
|
-
(0, import_globalVars.pluginGlobalVars)(
|
|
236
|
+
(0, import_globalVars.pluginGlobalVars)(globalVars),
|
|
238
237
|
(0, import_devtools.pluginDevtool)({
|
|
239
|
-
disableSourceMap
|
|
238
|
+
disableSourceMap
|
|
240
239
|
}),
|
|
241
240
|
(0, import_emitRouteFile.pluginEmitRouteFile)(),
|
|
242
241
|
(0, import_plugin_toml.pluginToml)(),
|
|
243
242
|
(0, import_plugin_yaml.pluginYaml)()
|
|
244
243
|
];
|
|
245
|
-
|
|
246
|
-
if (checkSyntaxOptions) {
|
|
244
|
+
if (checkSyntax) {
|
|
247
245
|
const { pluginCheckSyntax } = await Promise.resolve().then(() => __toESM(require("@rsbuild/plugin-check-syntax")));
|
|
248
|
-
rsbuildPlugins.push(pluginCheckSyntax(typeof
|
|
246
|
+
rsbuildPlugins.push(pluginCheckSyntax(typeof checkSyntax === "boolean" ? {} : checkSyntax));
|
|
249
247
|
}
|
|
250
|
-
if (!
|
|
251
|
-
var _uniBuilderConfig_tools2;
|
|
248
|
+
if (!disableTsChecker) {
|
|
252
249
|
const { pluginTypeCheck } = await Promise.resolve().then(() => __toESM(require("@rsbuild/plugin-type-check")));
|
|
253
250
|
rsbuildPlugins.push(pluginTypeCheck({
|
|
254
|
-
forkTsCheckerOptions:
|
|
251
|
+
forkTsCheckerOptions: tsChecker
|
|
255
252
|
}));
|
|
256
|
-
delete output.disableTsChecker;
|
|
257
|
-
delete tools.tsChecker;
|
|
258
253
|
}
|
|
259
|
-
if (
|
|
260
|
-
var _uniBuilderConfig_source3;
|
|
254
|
+
if (resolveMainFields) {
|
|
261
255
|
const { pluginMainFields } = await Promise.resolve().then(() => __toESM(require("./plugins/mainFields")));
|
|
262
|
-
rsbuildPlugins.push(pluginMainFields(
|
|
256
|
+
rsbuildPlugins.push(pluginMainFields(resolveMainFields));
|
|
263
257
|
}
|
|
264
|
-
if (
|
|
265
|
-
var _uniBuilderConfig_source4;
|
|
258
|
+
if (resolveExtensionPrefix) {
|
|
266
259
|
const { pluginExtensionPrefix } = await Promise.resolve().then(() => __toESM(require("./plugins/extensionPrefix")));
|
|
267
|
-
rsbuildPlugins.push(pluginExtensionPrefix(
|
|
260
|
+
rsbuildPlugins.push(pluginExtensionPrefix(resolveExtensionPrefix));
|
|
268
261
|
}
|
|
269
|
-
|
|
270
|
-
if (remOptions) {
|
|
262
|
+
if (convertToRem) {
|
|
271
263
|
const { pluginRem } = await Promise.resolve().then(() => __toESM(require("@rsbuild/plugin-rem")));
|
|
272
|
-
rsbuildPlugins.push(pluginRem(typeof
|
|
264
|
+
rsbuildPlugins.push(pluginRem(typeof convertToRem === "boolean" ? {} : convertToRem));
|
|
273
265
|
}
|
|
274
|
-
rsbuildPlugins.push((0, import_runtimeChunk.pluginRuntimeChunk)((
|
|
266
|
+
rsbuildPlugins.push((0, import_runtimeChunk.pluginRuntimeChunk)((_uniBuilderConfig_output = uniBuilderConfig.output) === null || _uniBuilderConfig_output === void 0 ? void 0 : _uniBuilderConfig_output.disableInlineRuntimeChunk));
|
|
275
267
|
const { sourceBuild } = uniBuilderConfig.experiments || {};
|
|
276
268
|
if (sourceBuild) {
|
|
277
269
|
const { pluginSourceBuild } = await Promise.resolve().then(() => __toESM(require("@rsbuild/plugin-source-build")));
|
|
278
270
|
rsbuildPlugins.push(pluginSourceBuild(sourceBuild === true ? {} : sourceBuild));
|
|
279
271
|
}
|
|
280
272
|
rsbuildPlugins.push((0, import_plugin_react.pluginReact)());
|
|
281
|
-
if (!
|
|
282
|
-
var _uniBuilderConfig_output13;
|
|
273
|
+
if (!disableSvgr) {
|
|
283
274
|
const { pluginSvgr } = await Promise.resolve().then(() => __toESM(require("@rsbuild/plugin-svgr")));
|
|
284
275
|
rsbuildPlugins.push(pluginSvgr({
|
|
285
|
-
svgDefaultExport:
|
|
276
|
+
svgDefaultExport: svgDefaultExport || "url"
|
|
286
277
|
}));
|
|
287
|
-
delete output.disableSvgr;
|
|
288
|
-
delete output.svgDefaultExport;
|
|
289
278
|
}
|
|
290
279
|
const pugOptions = (_uniBuilderConfig_tools = uniBuilderConfig.tools) === null || _uniBuilderConfig_tools === void 0 ? void 0 : _uniBuilderConfig_tools.pug;
|
|
291
280
|
if (pugOptions) {
|
|
@@ -294,12 +283,11 @@ async function parseCommonConfig(uniBuilderConfig, options) {
|
|
|
294
283
|
pugOptions
|
|
295
284
|
}));
|
|
296
285
|
}
|
|
297
|
-
if (
|
|
298
|
-
var _uniBuilderConfig_output14;
|
|
286
|
+
if (assetsRetry) {
|
|
299
287
|
const { pluginAssetsRetry } = await Promise.resolve().then(() => __toESM(require("@rsbuild/plugin-assets-retry")));
|
|
300
|
-
rsbuildPlugins.push(pluginAssetsRetry(
|
|
288
|
+
rsbuildPlugins.push(pluginAssetsRetry(assetsRetry));
|
|
301
289
|
}
|
|
302
|
-
if (
|
|
290
|
+
if (enableAssetFallback) {
|
|
303
291
|
const { pluginFallback } = await Promise.resolve().then(() => __toESM(require("./plugins/fallback")));
|
|
304
292
|
rsbuildPlugins.push(pluginFallback());
|
|
305
293
|
}
|
|
@@ -307,7 +295,7 @@ async function parseCommonConfig(uniBuilderConfig, options) {
|
|
|
307
295
|
rsbuildPlugins.push((0, import_frameworkConfig.pluginFrameworkConfig)(frameworkConfigPath));
|
|
308
296
|
}
|
|
309
297
|
rsbuildPlugins.push((0, import_plugin_css_minimizer.pluginCssMinimizer)({
|
|
310
|
-
pluginOptions:
|
|
298
|
+
pluginOptions: minifyCss
|
|
311
299
|
}));
|
|
312
300
|
targets.includes("web") && rsbuildPlugins.push((0, import_postcssLegacy.pluginPostcssLegacy)(overrideBrowserslist.web));
|
|
313
301
|
return {
|
package/dist/types.d.ts
CHANGED
|
@@ -122,6 +122,10 @@ export type UniBuilderExtraConfig = {
|
|
|
122
122
|
resolveExtensionPrefix?: string | Partial<Record<RsbuildTarget, string>>;
|
|
123
123
|
};
|
|
124
124
|
output?: {
|
|
125
|
+
/**
|
|
126
|
+
* @deprecated use `source.decorators` instead
|
|
127
|
+
*/
|
|
128
|
+
enableLatestDecorators?: boolean;
|
|
125
129
|
/**
|
|
126
130
|
* @deprecated use `output.cssModules.localIdentName` instead
|
|
127
131
|
*/
|
|
@@ -64,9 +64,7 @@ const pluginBabel = (options) => ({
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
|
-
const decoratorConfig =
|
|
68
|
-
version: config2.output.enableLatestDecorators ? "2018-09" : "legacy"
|
|
69
|
-
};
|
|
67
|
+
const decoratorConfig = config2.source.decorators;
|
|
70
68
|
const baseBabelConfig = isServer || isServiceWorker ? (0, import_node.getBabelConfigForNode)({
|
|
71
69
|
presetEnv: {
|
|
72
70
|
targets: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modern-js/uni-builder",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20240131170643",
|
|
4
4
|
"description": "Unified builder for Modern.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,23 +26,23 @@
|
|
|
26
26
|
"@babel/preset-react": "^7.22.15",
|
|
27
27
|
"@babel/types": "^7.23.0",
|
|
28
28
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
|
|
29
|
-
"@rsbuild/babel-preset": "0.3.
|
|
30
|
-
"@rsbuild/core": "0.3.
|
|
31
|
-
"@rsbuild/plugin-assets-retry": "0.3.
|
|
32
|
-
"@rsbuild/plugin-babel": "0.3.
|
|
33
|
-
"@rsbuild/plugin-check-syntax": "0.3.
|
|
34
|
-
"@rsbuild/plugin-css-minimizer": "0.3.
|
|
35
|
-
"@rsbuild/plugin-pug": "0.3.
|
|
36
|
-
"@rsbuild/plugin-react": "0.3.
|
|
37
|
-
"@rsbuild/plugin-rem": "0.3.
|
|
38
|
-
"@rsbuild/plugin-source-build": "0.3.
|
|
39
|
-
"@rsbuild/plugin-styled-components": "0.3.
|
|
40
|
-
"@rsbuild/plugin-svgr": "0.3.
|
|
41
|
-
"@rsbuild/plugin-type-check": "0.3.
|
|
42
|
-
"@rsbuild/plugin-toml": "0.3.
|
|
43
|
-
"@rsbuild/plugin-yaml": "0.3.
|
|
44
|
-
"@rsbuild/shared": "0.3.
|
|
45
|
-
"@rsbuild/webpack": "0.3.
|
|
29
|
+
"@rsbuild/babel-preset": "0.3.11",
|
|
30
|
+
"@rsbuild/core": "0.3.11",
|
|
31
|
+
"@rsbuild/plugin-assets-retry": "0.3.11",
|
|
32
|
+
"@rsbuild/plugin-babel": "0.3.11",
|
|
33
|
+
"@rsbuild/plugin-check-syntax": "0.3.11",
|
|
34
|
+
"@rsbuild/plugin-css-minimizer": "0.3.11",
|
|
35
|
+
"@rsbuild/plugin-pug": "0.3.11",
|
|
36
|
+
"@rsbuild/plugin-react": "0.3.11",
|
|
37
|
+
"@rsbuild/plugin-rem": "0.3.11",
|
|
38
|
+
"@rsbuild/plugin-source-build": "0.3.11",
|
|
39
|
+
"@rsbuild/plugin-styled-components": "0.3.11",
|
|
40
|
+
"@rsbuild/plugin-svgr": "0.3.11",
|
|
41
|
+
"@rsbuild/plugin-type-check": "0.3.11",
|
|
42
|
+
"@rsbuild/plugin-toml": "0.3.11",
|
|
43
|
+
"@rsbuild/plugin-yaml": "0.3.11",
|
|
44
|
+
"@rsbuild/shared": "0.3.11",
|
|
45
|
+
"@rsbuild/webpack": "0.3.11",
|
|
46
46
|
"@swc/helpers": "0.5.3",
|
|
47
47
|
"babel-loader": "9.1.3",
|
|
48
48
|
"babel-plugin-import": "1.13.5",
|
|
@@ -64,19 +64,19 @@
|
|
|
64
64
|
"webpack": "^5.89.0",
|
|
65
65
|
"webpack-manifest-plugin": "5.0.0",
|
|
66
66
|
"webpack-subresource-integrity": "5.1.0",
|
|
67
|
-
"@modern-js/utils": "0.0.0-nightly-
|
|
68
|
-
"@modern-js/server": "0.0.0-nightly-
|
|
69
|
-
"@modern-js/prod-server": "0.0.0-nightly-
|
|
67
|
+
"@modern-js/utils": "0.0.0-nightly-20240131170643",
|
|
68
|
+
"@modern-js/server": "0.0.0-nightly-20240131170643",
|
|
69
|
+
"@modern-js/prod-server": "0.0.0-nightly-20240131170643"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@rsbuild/plugin-swc": "0.3.
|
|
72
|
+
"@rsbuild/plugin-swc": "0.3.11",
|
|
73
73
|
"@types/lodash": "^4.14.202",
|
|
74
74
|
"react": "^18.2.0",
|
|
75
75
|
"react-dom": "^18.2.0",
|
|
76
76
|
"typescript": "^5.3.0",
|
|
77
|
-
"@
|
|
78
|
-
"@scripts/
|
|
79
|
-
"@
|
|
77
|
+
"@scripts/build": "0.0.0-nightly-20240131170643",
|
|
78
|
+
"@scripts/vitest-config": "0.0.0-nightly-20240131170643",
|
|
79
|
+
"@modern-js/builder-plugin-node-polyfill": "0.0.0-nightly-20240131170643"
|
|
80
80
|
},
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public",
|