@rslib/core 0.20.0-canary-202603091 → 0.20.0
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/{800.js → 108.js} +2 -2
- package/dist/index.js +42 -41
- package/dist/libCssExtractLoader.js +2 -1
- package/package.json +4 -4
package/dist/{800.js → 108.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import node_path
|
|
1
|
+
import node_path from "node:path";
|
|
2
2
|
const SWC_HELPERS = '@swc/helpers';
|
|
3
3
|
const DTS_EXTENSIONS = [
|
|
4
4
|
'd.ts',
|
|
@@ -79,4 +79,4 @@ const BASE_URI = 'rspack-css-extract://';
|
|
|
79
79
|
const AUTO_PUBLIC_PATH = '__css_extract_public_path_auto__';
|
|
80
80
|
const ABSOLUTE_PUBLIC_PATH = `${BASE_URI}/css-extract-plugin/`;
|
|
81
81
|
const SINGLE_DOT_PATH_SEGMENT = '__css_extract_single_dot_path_segment__';
|
|
82
|
-
export { ABSOLUTE_PUBLIC_PATH, AUTO_PUBLIC_PATH, BASE_URI, CSS_EXTENSIONS_PATTERN, DTS_EXTENSIONS_PATTERN, JS_EXTENSIONS_PATTERN, SINGLE_DOT_PATH_SEGMENT, SWC_HELPERS,
|
|
82
|
+
export { ABSOLUTE_PUBLIC_PATH, AUTO_PUBLIC_PATH, BASE_URI, CSS_EXTENSIONS_PATTERN, DTS_EXTENSIONS_PATTERN, JS_EXTENSIONS_PATTERN, SINGLE_DOT_PATH_SEGMENT, SWC_HELPERS, getUndoPath, isCssFile, isCssGlobalFile, isCssModulesFile };
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import * as __rspack_external__rsbuild_core_1b356efc from "@rsbuild/core";
|
|
2
1
|
import { logger } from "../compiled/rslog/index.js";
|
|
3
2
|
import picocolors from "../compiled/picocolors/index.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import node_path, { basename as external_node_path_basename, dirname, extname, isAbsolute, join } from "node:path";
|
|
4
|
+
import node_fs, { promises as external_node_fs_promises } from "node:fs";
|
|
5
|
+
import promises from "node:fs/promises";
|
|
6
6
|
import node_util from "node:util";
|
|
7
|
+
import * as __rspack_external__rsbuild_core_1b356efc from "@rsbuild/core";
|
|
8
|
+
import { createRsbuild, defineConfig, loadConfig, loadEnv, mergeRsbuildConfig, rspack } from "@rsbuild/core";
|
|
7
9
|
import { glob } from "../compiled/tinyglobby/index.js";
|
|
8
10
|
import { createRequire } from "node:module";
|
|
9
11
|
import { createRequire as external_module_createRequire } from "module";
|
|
10
|
-
import {
|
|
12
|
+
import { getUndoPath, ABSOLUTE_PUBLIC_PATH, isCssFile, DTS_EXTENSIONS_PATTERN, SWC_HELPERS, AUTO_PUBLIC_PATH, CSS_EXTENSIONS_PATTERN, JS_EXTENSIONS_PATTERN, isCssGlobalFile, SINGLE_DOT_PATH_SEGMENT, BASE_URI, isCssModulesFile } from "./108.js";
|
|
11
13
|
const isDebugKey = (keys)=>{
|
|
12
14
|
if (!process.env.DEBUG) return false;
|
|
13
15
|
const values = process.env.DEBUG.toLocaleLowerCase().split(',');
|
|
@@ -653,7 +655,7 @@ async function calcLongestCommonPath(absPaths) {
|
|
|
653
655
|
lcaFragments = lcaFragments.slice(0, j);
|
|
654
656
|
}
|
|
655
657
|
let lca = lcaFragments.length > 0 ? lcaFragments.join(sep) : sep;
|
|
656
|
-
const stats = await
|
|
658
|
+
const stats = await promises.stat(lca);
|
|
657
659
|
if (stats?.isFile()) lca = node_path.dirname(lca);
|
|
658
660
|
return lca;
|
|
659
661
|
}
|
|
@@ -720,7 +722,7 @@ function normalizeSlash(p) {
|
|
|
720
722
|
}
|
|
721
723
|
async function isDirectory(filePath) {
|
|
722
724
|
try {
|
|
723
|
-
const stat = await
|
|
725
|
+
const stat = await promises.stat(filePath);
|
|
724
726
|
return stat.isDirectory();
|
|
725
727
|
} catch {
|
|
726
728
|
return false;
|
|
@@ -784,7 +786,7 @@ class LibSvgrPatchPlugin {
|
|
|
784
786
|
const chunkAsset = Object.keys(assets).filter((name)=>name.endsWith('js'));
|
|
785
787
|
for (const name of chunkAsset)compilation.updateAsset(name, (old)=>{
|
|
786
788
|
const oldSource = old.source().toString();
|
|
787
|
-
const newSource = new
|
|
789
|
+
const newSource = new rspack.sources.ReplaceSource(old);
|
|
788
790
|
const pattern = new RegExp(`\\(?['"]${PUBLIC_PATH_PLACEHOLDER}(.*)['"]\\)?`, 'g');
|
|
789
791
|
const matches = [
|
|
790
792
|
...oldSource.matchAll(pattern)
|
|
@@ -928,7 +930,7 @@ class LibCssExtractPlugin {
|
|
|
928
930
|
const chunkAsset = Object.keys(assets).filter((name)=>/\.css/.test(name));
|
|
929
931
|
for (const name of chunkAsset)compilation.updateAsset(name, (old)=>{
|
|
930
932
|
const oldSource = old.source().toString();
|
|
931
|
-
const replaceSource = new
|
|
933
|
+
const replaceSource = new rspack.sources.ReplaceSource(old);
|
|
932
934
|
function replace(searchValue, replaceValue) {
|
|
933
935
|
let start = oldSource.indexOf(searchValue);
|
|
934
936
|
while(-1 !== start){
|
|
@@ -1067,7 +1069,7 @@ class EntryChunkPlugin {
|
|
|
1067
1069
|
const chunkAsset = Object.keys(assets).filter((name)=>JS_EXTENSIONS_PATTERN.test(name) && this.shimsInjectedAssets.has(name));
|
|
1068
1070
|
for (const name of chunkAsset)compilation.updateAsset(name, (old)=>{
|
|
1069
1071
|
const oldSource = old.source().toString();
|
|
1070
|
-
const replaceSource = new
|
|
1072
|
+
const replaceSource = new rspack.sources.ReplaceSource(old);
|
|
1071
1073
|
if (oldSource.startsWith('#!')) {
|
|
1072
1074
|
const firstLineEnd = oldSource.indexOf('\n');
|
|
1073
1075
|
replaceSource.insert(firstLineEnd + 1, IMPORT_META_URL_SHIM);
|
|
@@ -1119,9 +1121,9 @@ const pluginEsmRequireShim = ()=>({
|
|
|
1119
1121
|
setup (api) {
|
|
1120
1122
|
api.modifyRspackConfig((config)=>{
|
|
1121
1123
|
config.plugins ??= [];
|
|
1122
|
-
config.plugins.push(new
|
|
1124
|
+
config.plugins.push(new rspack.BannerPlugin({
|
|
1123
1125
|
banner: requireShim,
|
|
1124
|
-
stage:
|
|
1126
|
+
stage: rspack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE - 1,
|
|
1125
1127
|
raw: true,
|
|
1126
1128
|
include: /\.(js|mjs)$/
|
|
1127
1129
|
}));
|
|
@@ -1340,7 +1342,7 @@ async function util_resolveTSConfigJson(filename, cache) {
|
|
|
1340
1342
|
if ('.json' !== node_path.extname(filename)) return;
|
|
1341
1343
|
const tsconfig = node_path.resolve(filename);
|
|
1342
1344
|
if (cache && (cache.hasParseResult(tsconfig) || cache.hasParseResult(filename))) return tsconfig;
|
|
1343
|
-
return
|
|
1345
|
+
return external_node_fs_promises.stat(tsconfig).then((stat)=>{
|
|
1344
1346
|
if (stat.isFile() || stat.isFIFO()) return tsconfig;
|
|
1345
1347
|
throw new Error(`${filename} exists but is not a regular file.`);
|
|
1346
1348
|
});
|
|
@@ -1640,7 +1642,7 @@ async function getParsedDeep(filename, cache, options) {
|
|
|
1640
1642
|
}
|
|
1641
1643
|
async function parseFile(tsconfigFile, cache, skipCache) {
|
|
1642
1644
|
if (!skipCache && cache?.hasParseResult(tsconfigFile) && !cache.getParseResult(tsconfigFile)._isRootFile_) return cache.getParseResult(tsconfigFile);
|
|
1643
|
-
const promise =
|
|
1645
|
+
const promise = external_node_fs_promises.readFile(tsconfigFile, 'utf-8').then(toJson).then((json)=>{
|
|
1644
1646
|
const parsed = JSON.parse(json);
|
|
1645
1647
|
applyDefaults(parsed, tsconfigFile);
|
|
1646
1648
|
return {
|
|
@@ -1962,30 +1964,30 @@ function composeBannerFooterConfig(banner, footer) {
|
|
|
1962
1964
|
if (isEmptyObject(bannerConfig) && isEmptyObject(footerConfig)) return {};
|
|
1963
1965
|
const plugins = [];
|
|
1964
1966
|
if (!isEmptyObject(bannerConfig)) {
|
|
1965
|
-
if (bannerConfig.js) plugins.push(new
|
|
1967
|
+
if (bannerConfig.js) plugins.push(new rspack.BannerPlugin({
|
|
1966
1968
|
banner: bannerConfig.js,
|
|
1967
|
-
stage:
|
|
1969
|
+
stage: rspack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE + 1,
|
|
1968
1970
|
raw: true,
|
|
1969
1971
|
include: /\.(js|mjs|cjs)$/
|
|
1970
1972
|
}));
|
|
1971
|
-
if (bannerConfig.css) plugins.push(new
|
|
1973
|
+
if (bannerConfig.css) plugins.push(new rspack.BannerPlugin({
|
|
1972
1974
|
banner: bannerConfig.css,
|
|
1973
|
-
stage:
|
|
1975
|
+
stage: rspack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE + 1,
|
|
1974
1976
|
raw: true,
|
|
1975
1977
|
include: /\.(css)$/
|
|
1976
1978
|
}));
|
|
1977
1979
|
}
|
|
1978
1980
|
if (!isEmptyObject(footerConfig)) {
|
|
1979
|
-
if (footerConfig.js) plugins.push(new
|
|
1981
|
+
if (footerConfig.js) plugins.push(new rspack.BannerPlugin({
|
|
1980
1982
|
banner: footerConfig.js,
|
|
1981
|
-
stage:
|
|
1983
|
+
stage: rspack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE + 1,
|
|
1982
1984
|
raw: true,
|
|
1983
1985
|
footer: true,
|
|
1984
1986
|
include: /\.(js|mjs|cjs)$/
|
|
1985
1987
|
}));
|
|
1986
|
-
if (footerConfig.css) plugins.push(new
|
|
1988
|
+
if (footerConfig.css) plugins.push(new rspack.BannerPlugin({
|
|
1987
1989
|
banner: footerConfig.css,
|
|
1988
|
-
stage:
|
|
1990
|
+
stage: rspack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE + 1,
|
|
1989
1991
|
raw: true,
|
|
1990
1992
|
footer: true,
|
|
1991
1993
|
include: /\.(css)$/
|
|
@@ -2026,7 +2028,7 @@ function composePrintFileSizeConfig(bundle, target) {
|
|
|
2026
2028
|
};
|
|
2027
2029
|
}
|
|
2028
2030
|
async function createConstantRsbuildConfig() {
|
|
2029
|
-
return
|
|
2031
|
+
return defineConfig({
|
|
2030
2032
|
performance: {
|
|
2031
2033
|
chunkSplit: {
|
|
2032
2034
|
strategy: 'custom'
|
|
@@ -2094,7 +2096,7 @@ const composeFormatConfig = ({ format, bundle = true, umdName, pkgJson, enabledS
|
|
|
2094
2096
|
}
|
|
2095
2097
|
};
|
|
2096
2098
|
const plugins = [
|
|
2097
|
-
new
|
|
2099
|
+
new rspack.experiments.RslibPlugin({
|
|
2098
2100
|
interceptApiPlugin: true,
|
|
2099
2101
|
forceNodeShims: enabledShims.esm.__dirname || enabledShims.esm.__filename
|
|
2100
2102
|
})
|
|
@@ -2471,7 +2473,7 @@ const composeOutputFilenameConfig = (config, format, autoExtension, multiCompile
|
|
|
2471
2473
|
}
|
|
2472
2474
|
}
|
|
2473
2475
|
};
|
|
2474
|
-
const finalConfig = userJsFilename ? chunkFilename :
|
|
2476
|
+
const finalConfig = userJsFilename ? chunkFilename : mergeRsbuildConfig(chunkFilename, {
|
|
2475
2477
|
output: {
|
|
2476
2478
|
filename: {
|
|
2477
2479
|
js: defaultJsFilename
|
|
@@ -2849,7 +2851,7 @@ async function composeLibRsbuildConfig(config, multiCompilerIndex, root = proces
|
|
|
2849
2851
|
const bannerFooterConfig = composeBannerFooterConfig(banner, footer);
|
|
2850
2852
|
const decoratorsConfig = composeDecoratorsConfig(compilerOptions, config.source?.decorators?.version);
|
|
2851
2853
|
const printFileSizeConfig = composePrintFileSizeConfig(bundle, target);
|
|
2852
|
-
return
|
|
2854
|
+
return mergeRsbuildConfig(bundleConfig, formatConfig, shimsConfig, syntaxConfig, externalHelpersConfig, outputFilenameConfig, targetConfig, externalsWarnConfig, userExternalsConfig, autoExternalConfig, targetExternalsConfig, bundlelessExternalConfig, entryConfig, cssConfig, assetConfig, entryChunkConfig, minifyConfig, dtsConfig, bannerFooterConfig, decoratorsConfig, printFileSizeConfig);
|
|
2853
2855
|
}
|
|
2854
2856
|
async function composeCreateRsbuildConfig(rslibConfig) {
|
|
2855
2857
|
const constantRsbuildConfig = await createConstantRsbuildConfig();
|
|
@@ -2857,7 +2859,7 @@ async function composeCreateRsbuildConfig(rslibConfig) {
|
|
|
2857
2859
|
if (logLevel && !isDebug()) logger.level = logLevel;
|
|
2858
2860
|
if (!Array.isArray(libConfigsArray) || 0 === libConfigsArray.length) throw new Error(`Expect "lib" field to be a non-empty array, but got: ${picocolors.cyan(JSON.stringify(libConfigsArray))}.`);
|
|
2859
2861
|
const libConfigPromises = libConfigsArray.map(async (libConfig, index)=>{
|
|
2860
|
-
const userConfig =
|
|
2862
|
+
const userConfig = mergeRsbuildConfig(sharedRsbuildConfig, libConfig);
|
|
2861
2863
|
const libRsbuildConfig = await composeLibRsbuildConfig(userConfig, libConfigsArray.length > 1 ? index : null, root, sharedPlugins);
|
|
2862
2864
|
userConfig.source ??= {};
|
|
2863
2865
|
userConfig.source.entry = {};
|
|
@@ -2865,7 +2867,7 @@ async function composeCreateRsbuildConfig(rslibConfig) {
|
|
|
2865
2867
|
delete userConfig.output.externals;
|
|
2866
2868
|
const config = {
|
|
2867
2869
|
format: libConfig.format ?? 'esm',
|
|
2868
|
-
config:
|
|
2870
|
+
config: mergeRsbuildConfig(constantRsbuildConfig, libRsbuildConfig, omit(userConfig, {
|
|
2869
2871
|
id: true,
|
|
2870
2872
|
bundle: true,
|
|
2871
2873
|
format: true,
|
|
@@ -2959,7 +2961,7 @@ const applyDebugInspectConfigPlugin = (rsbuildInstance, config)=>{
|
|
|
2959
2961
|
});
|
|
2960
2962
|
};
|
|
2961
2963
|
async function createRslib(options = {}) {
|
|
2962
|
-
const envs = options.loadEnv ?
|
|
2964
|
+
const envs = options.loadEnv ? loadEnv({
|
|
2963
2965
|
cwd: options.cwd,
|
|
2964
2966
|
...'boolean' == typeof options.loadEnv ? {} : options.loadEnv
|
|
2965
2967
|
}) : null;
|
|
@@ -2980,7 +2982,7 @@ async function createRslib(options = {}) {
|
|
|
2980
2982
|
onAfterCreateRsbuildCallbacks.push(callback);
|
|
2981
2983
|
};
|
|
2982
2984
|
const createRsbuildInstance = async (options, mode, environments)=>{
|
|
2983
|
-
const rsbuildInstance = await
|
|
2985
|
+
const rsbuildInstance = await createRsbuild({
|
|
2984
2986
|
cwd: options.cwd,
|
|
2985
2987
|
callerName: 'rslib',
|
|
2986
2988
|
config: {
|
|
@@ -3070,7 +3072,7 @@ async function createRslib(options = {}) {
|
|
|
3070
3072
|
};
|
|
3071
3073
|
return rslib;
|
|
3072
3074
|
}
|
|
3073
|
-
function
|
|
3075
|
+
function loadConfig_defineConfig(config) {
|
|
3074
3076
|
return config;
|
|
3075
3077
|
}
|
|
3076
3078
|
const resolveConfigPath = (root, customConfig)=>{
|
|
@@ -3095,7 +3097,7 @@ const resolveConfigPath = (root, customConfig)=>{
|
|
|
3095
3097
|
}
|
|
3096
3098
|
return null;
|
|
3097
3099
|
};
|
|
3098
|
-
async function
|
|
3100
|
+
async function loadConfig_loadConfig({ cwd = process.cwd(), path, envMode, meta, loader }) {
|
|
3099
3101
|
const configFilePath = resolveConfigPath(cwd, path);
|
|
3100
3102
|
if (!configFilePath) {
|
|
3101
3103
|
logger.debug('no config file found.');
|
|
@@ -3104,7 +3106,7 @@ async function loadConfig({ cwd = process.cwd(), path, envMode, meta, loader })
|
|
|
3104
3106
|
filePath: null
|
|
3105
3107
|
};
|
|
3106
3108
|
}
|
|
3107
|
-
const { content } = await
|
|
3109
|
+
const { content } = await loadConfig({
|
|
3108
3110
|
cwd: dirname(configFilePath),
|
|
3109
3111
|
path: configFilePath,
|
|
3110
3112
|
envMode,
|
|
@@ -3191,7 +3193,7 @@ const applyCliOptions = (config, options, root)=>{
|
|
|
3191
3193
|
}
|
|
3192
3194
|
};
|
|
3193
3195
|
const init_loadConfig = async (options, root)=>{
|
|
3194
|
-
const { content: config, filePath: configFilePath } = await
|
|
3196
|
+
const { content: config, filePath: configFilePath } = await loadConfig_loadConfig({
|
|
3195
3197
|
cwd: root,
|
|
3196
3198
|
path: options.config,
|
|
3197
3199
|
envMode: options.envMode,
|
|
@@ -3232,7 +3234,7 @@ const applyCommonOptions = (cli)=>{
|
|
|
3232
3234
|
};
|
|
3233
3235
|
function setupCommands() {
|
|
3234
3236
|
const cli = cac('rslib');
|
|
3235
|
-
cli.version("0.20.0
|
|
3237
|
+
cli.version("0.20.0");
|
|
3236
3238
|
applyCommonOptions(cli);
|
|
3237
3239
|
const buildDescription = `build the library for production ${picocolors.dim('(default if no command is given)')}`;
|
|
3238
3240
|
const buildCommand = cli.command('', buildDescription).alias('build');
|
|
@@ -3332,7 +3334,7 @@ function showGreeting() {
|
|
|
3332
3334
|
const isBun = npm_execpath?.includes('.bun');
|
|
3333
3335
|
const isNodeRun = Boolean(NODE_RUN_SCRIPT_NAME);
|
|
3334
3336
|
const prefix = isNpx || isBun || isNodeRun ? '\n' : '';
|
|
3335
|
-
logger.greet(`${prefix}Rslib v0.20.0
|
|
3337
|
+
logger.greet(`${prefix}Rslib v0.20.0\n`);
|
|
3336
3338
|
}
|
|
3337
3339
|
function setupLogLevel() {
|
|
3338
3340
|
const logLevelIndex = process.argv.findIndex((item)=>'--log-level' === item || '--logLevel' === item);
|
|
@@ -3365,7 +3367,7 @@ function mergeLibConfigs(...libArrays) {
|
|
|
3365
3367
|
const itemsWithoutId = [];
|
|
3366
3368
|
for (const libArray of definedLibArrays)for (const libConfig of libArray)if (void 0 !== libConfig.id) {
|
|
3367
3369
|
const existing = mergedById.get(libConfig.id);
|
|
3368
|
-
if (existing) mergedById.set(libConfig.id,
|
|
3370
|
+
if (existing) mergedById.set(libConfig.id, mergeRsbuildConfig(existing, libConfig));
|
|
3369
3371
|
else mergedById.set(libConfig.id, libConfig);
|
|
3370
3372
|
} else itemsWithoutId.push(libConfig);
|
|
3371
3373
|
return [
|
|
@@ -3381,12 +3383,11 @@ function mergeRslibConfig(...originalConfigs) {
|
|
|
3381
3383
|
const { lib: _, ...rest } = config;
|
|
3382
3384
|
return rest;
|
|
3383
3385
|
});
|
|
3384
|
-
const mergedConfig =
|
|
3386
|
+
const mergedConfig = mergeRsbuildConfig(...configsWithoutLib);
|
|
3385
3387
|
const mergedLib = mergeLibConfigs(...libArrays);
|
|
3386
3388
|
if (void 0 !== mergedLib) mergedConfig.lib = mergedLib;
|
|
3387
3389
|
return mergedConfig;
|
|
3388
3390
|
}
|
|
3389
|
-
const src_version = "0.20.0
|
|
3390
|
-
var
|
|
3391
|
-
|
|
3392
|
-
export { __rspack_external__rsbuild_core_1b356efc as rsbuild, createRslib, defineConfig, loadConfig, loadEnv, mergeRslibConfig, rspack, runCLI, src_version as version };
|
|
3391
|
+
const src_version = "0.20.0";
|
|
3392
|
+
var rspack_0 = __rspack_external__rsbuild_core_1b356efc.rspack;
|
|
3393
|
+
export { __rspack_external__rsbuild_core_1b356efc as rsbuild, createRslib, loadConfig_defineConfig as defineConfig, loadConfig_loadConfig as loadConfig, loadEnv, mergeRslibConfig, rspack_0 as rspack, runCLI, src_version as version };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import node_path, { extname } from "node:path";
|
|
2
|
+
import { isCssModulesFile, ABSOLUTE_PUBLIC_PATH, SINGLE_DOT_PATH_SEGMENT, BASE_URI, AUTO_PUBLIC_PATH } from "./108.js";
|
|
2
3
|
const LOADER_NAME = 'LIB_CSS_EXTRACT_LOADER';
|
|
3
4
|
function stringifyLocal(value) {
|
|
4
5
|
return 'function' == typeof value ? value.toString() : JSON.stringify(value);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rslib/core",
|
|
3
|
-
"version": "0.20.0
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "The Rsbuild-based library development tool.",
|
|
5
5
|
"homepage": "https://rslib.rs",
|
|
6
6
|
"bugs": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"types.d.ts"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@rsbuild/core": "2.0.0-beta.
|
|
40
|
-
"rsbuild-plugin-dts": "0.20.0
|
|
39
|
+
"@rsbuild/core": "2.0.0-beta.8",
|
|
40
|
+
"rsbuild-plugin-dts": "0.20.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@module-federation/rsbuild-plugin": "^0.24.1",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"picocolors": "1.1.1",
|
|
51
51
|
"prebundle": "1.6.2",
|
|
52
52
|
"rsbuild-plugin-publint": "^0.3.4",
|
|
53
|
-
"rslib": "npm:@rslib/core@0.
|
|
53
|
+
"rslib": "npm:@rslib/core@0.20.0-canary-202603101",
|
|
54
54
|
"rslog": "^1.3.2",
|
|
55
55
|
"tinyglobby": "0.2.14",
|
|
56
56
|
"tsconfck": "3.1.6",
|