Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/module-federation/mf-host/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"devDependencies": {
"@module-federation/rsbuild-plugin": "^0.21.3",
"@rsbuild/core": "~1.6.3",
"@rsbuild/core": "~1.6.6",
"@rsbuild/plugin-react": "^1.4.2",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
Expand Down
2 changes: 1 addition & 1 deletion examples/module-federation/mf-remote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"devDependencies": {
"@module-federation/rsbuild-plugin": "^0.21.3",
"@rsbuild/core": "~1.6.3",
"@rsbuild/core": "~1.6.6",
"@rsbuild/plugin-react": "^1.4.2",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"type-check": "tsc --noEmit && tsc --noEmit -p tests"
},
"dependencies": {
"@rsbuild/core": "~1.6.3",
"@rsbuild/core": "~1.6.6",
"rsbuild-plugin-dts": "workspace:*"
},
"devDependencies": {
Expand Down
118 changes: 94 additions & 24 deletions packages/core/tests/__snapshots__/config.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ exports[`Should compose create Rsbuild config correctly > Enable experiment.adva
{
loader: '<ROOT>/node_modules/<PNPM_INNER>/@rsbuild/core/compiled/css-loader/index.js',
options: {
importLoaders: 0,
modules: {
auto: true,
namedExport: false,
Expand All @@ -213,7 +212,8 @@ exports[`Should compose create Rsbuild config correctly > Enable experiment.adva
localIdentName: '[local]-[hash:base64:6]',
exportOnlyLocals: true
},
sourceMap: false
sourceMap: false,
importLoaders: 0
}
}
],
Expand All @@ -232,10 +232,20 @@ exports[`Should compose create Rsbuild config correctly > Enable experiment.adva
{
loader: '<ROOT>/node_modules/<PNPM_INNER>/@rsbuild/core/compiled/css-loader/index.js',
options: {
importLoaders: 0,
modules: false,
sourceMap: false,
exportType: 'string'
exportType: 'string',
importLoaders: 1
}
},
/* config.module.rule('css-inline').use('lightningcss') */
{
loader: 'builtin:lightningcss-loader',
options: {
targets: [
'last 1 node versions'
],
errorRecovery: true
}
}
],
Expand Down Expand Up @@ -1237,7 +1247,6 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
{
loader: '<ROOT>/node_modules/<PNPM_INNER>/@rsbuild/core/compiled/css-loader/index.js',
options: {
importLoaders: 0,
modules: {
auto: true,
namedExport: false,
Expand All @@ -1246,7 +1255,8 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
localIdentName: '[local]-[hash:base64:6]',
exportOnlyLocals: true
},
sourceMap: false
sourceMap: false,
importLoaders: 0
}
}
],
Expand All @@ -1265,10 +1275,25 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
{
loader: '<ROOT>/node_modules/<PNPM_INNER>/@rsbuild/core/compiled/css-loader/index.js',
options: {
importLoaders: 0,
modules: false,
sourceMap: false,
exportType: 'string'
exportType: 'string',
importLoaders: 1
}
},
/* config.module.rule('css-inline').use('lightningcss') */
{
loader: 'builtin:lightningcss-loader',
options: {
targets: [
'last 1 Chrome versions',
'last 1 Firefox versions',
'last 1 Edge versions',
'last 1 Safari versions',
'last 1 ios_saf versions',
'not dead'
],
errorRecovery: true
}
}
],
Expand Down Expand Up @@ -1956,7 +1981,6 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
{
loader: '<ROOT>/node_modules/<PNPM_INNER>/@rsbuild/core/compiled/css-loader/index.js',
options: {
importLoaders: 0,
modules: {
auto: true,
namedExport: false,
Expand All @@ -1965,7 +1989,8 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
localIdentName: '[local]-[hash:base64:6]',
exportOnlyLocals: true
},
sourceMap: false
sourceMap: false,
importLoaders: 0
}
}
],
Expand All @@ -1984,10 +2009,25 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
{
loader: '<ROOT>/node_modules/<PNPM_INNER>/@rsbuild/core/compiled/css-loader/index.js',
options: {
importLoaders: 0,
modules: false,
sourceMap: false,
exportType: 'string'
exportType: 'string',
importLoaders: 1
}
},
/* config.module.rule('css-inline').use('lightningcss') */
{
loader: 'builtin:lightningcss-loader',
options: {
targets: [
'last 1 Chrome versions',
'last 1 Firefox versions',
'last 1 Edge versions',
'last 1 Safari versions',
'last 1 ios_saf versions',
'not dead'
],
errorRecovery: true
}
}
],
Expand Down Expand Up @@ -2651,7 +2691,6 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
{
loader: '<ROOT>/node_modules/<PNPM_INNER>/@rsbuild/core/compiled/css-loader/index.js',
options: {
importLoaders: 0,
modules: {
auto: true,
namedExport: false,
Expand All @@ -2660,7 +2699,8 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
localIdentName: '[local]-[hash:base64:6]',
exportOnlyLocals: true
},
sourceMap: false
sourceMap: false,
importLoaders: 0
}
}
],
Expand All @@ -2679,10 +2719,25 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
{
loader: '<ROOT>/node_modules/<PNPM_INNER>/@rsbuild/core/compiled/css-loader/index.js',
options: {
importLoaders: 0,
modules: false,
sourceMap: false,
exportType: 'string'
exportType: 'string',
importLoaders: 1
}
},
/* config.module.rule('css-inline').use('lightningcss') */
{
loader: 'builtin:lightningcss-loader',
options: {
targets: [
'last 1 Chrome versions',
'last 1 Firefox versions',
'last 1 Edge versions',
'last 1 Safari versions',
'last 1 ios_saf versions',
'not dead'
],
errorRecovery: true
}
}
],
Expand Down Expand Up @@ -3272,7 +3327,6 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
{
loader: '<ROOT>/node_modules/<PNPM_INNER>/@rsbuild/core/compiled/css-loader/index.js',
options: {
importLoaders: 0,
modules: {
auto: true,
namedExport: false,
Expand All @@ -3281,7 +3335,8 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
localIdentName: '[local]-[hash:base64:6]',
exportOnlyLocals: true
},
sourceMap: false
sourceMap: false,
importLoaders: 0
}
}
],
Expand All @@ -3300,10 +3355,25 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
{
loader: '<ROOT>/node_modules/<PNPM_INNER>/@rsbuild/core/compiled/css-loader/index.js',
options: {
importLoaders: 0,
modules: false,
sourceMap: false,
exportType: 'string'
exportType: 'string',
importLoaders: 1
}
},
/* config.module.rule('css-inline').use('lightningcss') */
{
loader: 'builtin:lightningcss-loader',
options: {
targets: [
'last 1 Chrome versions',
'last 1 Firefox versions',
'last 1 Edge versions',
'last 1 Safari versions',
'last 1 ios_saf versions',
'not dead'
],
errorRecovery: true
}
}
],
Expand Down Expand Up @@ -3828,15 +3898,15 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
{
loader: '<ROOT>/node_modules/<PNPM_INNER>/@rsbuild/core/compiled/css-loader/index.js',
options: {
importLoaders: 1,
modules: {
auto: true,
namedExport: false,
exportGlobals: false,
exportLocalsConvention: 'camelCase',
localIdentName: '[local]-[hash:base64:6]'
},
sourceMap: false
sourceMap: false,
importLoaders: 1
}
},
/* config.module.rule('css').use('lightningcss') */
Expand Down Expand Up @@ -3870,10 +3940,10 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
{
loader: '<ROOT>/node_modules/<PNPM_INNER>/@rsbuild/core/compiled/css-loader/index.js',
options: {
importLoaders: 1,
modules: false,
sourceMap: false,
exportType: 'string'
exportType: 'string',
importLoaders: 1
}
},
/* config.module.rule('css-inline').use('lightningcss') */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"storybook": "storybook dev"
},
"devDependencies": {
"@rsbuild/core": "~1.6.3",
"@rsbuild/core": "~1.6.6",
"@storybook/addon-docs": "^9.1.16",
"@storybook/addon-onboarding": "^9.1.16",
"@storybook/react": "^9.1.16",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"storybook": "storybook dev"
},
"devDependencies": {
"@rsbuild/core": "~1.6.3",
"@rsbuild/core": "~1.6.6",
"@storybook/addon-docs": "^9.1.16",
"@storybook/addon-onboarding": "^9.1.16",
"@storybook/react": "^9.1.16",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"storybook": "storybook dev"
},
"devDependencies": {
"@rsbuild/core": "~1.6.3",
"@rsbuild/core": "~1.6.6",
"@storybook/addon-docs": "^9.1.16",
"@storybook/addon-onboarding": "^9.1.16",
"@storybook/vue3": "^9.1.16",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"storybook": "storybook dev"
},
"devDependencies": {
"@rsbuild/core": "~1.6.3",
"@rsbuild/core": "~1.6.6",
"@storybook/addon-docs": "^9.1.16",
"@storybook/addon-onboarding": "^9.1.16",
"@storybook/vue3": "^9.1.16",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"test": "rstest"
},
"devDependencies": {
"@rsbuild/core": "~1.6.3",
"@rsbuild/core": "~1.6.6",
"@rsbuild/plugin-react": "^1.4.2",
"@rslib/core": "workspace:*",
"@rstest/core": "^0.6.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test": "rstest"
},
"devDependencies": {
"@rsbuild/core": "~1.6.3",
"@rsbuild/core": "~1.6.6",
"@rsbuild/plugin-react": "^1.4.2",
"@rslib/core": "workspace:*",
"@rstest/core": "^0.6.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"test": "vitest run"
},
"devDependencies": {
"@rsbuild/core": "~1.6.3",
"@rsbuild/core": "~1.6.6",
"@rsbuild/plugin-react": "^1.4.2",
"@rslib/core": "workspace:*",
"@storybook/addon-docs": "^9.1.16",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test": "vitest run"
},
"devDependencies": {
"@rsbuild/core": "~1.6.3",
"@rsbuild/core": "~1.6.6",
"@rsbuild/plugin-react": "^1.4.2",
"@rslib/core": "workspace:*",
"@storybook/addon-docs": "^9.1.16",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"storybook": "storybook dev"
},
"devDependencies": {
"@rsbuild/core": "~1.6.3",
"@rsbuild/core": "~1.6.6",
"@rsbuild/plugin-react": "^1.4.2",
"@rslib/core": "workspace:*",
"@storybook/addon-docs": "^9.1.16",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"storybook": "storybook dev"
},
"devDependencies": {
"@rsbuild/core": "~1.6.3",
"@rsbuild/core": "~1.6.6",
"@rsbuild/plugin-react": "^1.4.2",
"@rslib/core": "workspace:*",
"@storybook/addon-docs": "^9.1.16",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test": "rstest"
},
"devDependencies": {
"@rsbuild/core": "~1.6.3",
"@rsbuild/core": "~1.6.6",
"@rslib/core": "workspace:*",
"@rstest/core": "^0.6.3",
"@storybook/addon-docs": "^9.1.16",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test": "rstest"
},
"devDependencies": {
"@rsbuild/core": "~1.6.3",
"@rsbuild/core": "~1.6.6",
"@rslib/core": "workspace:*",
"@rstest/core": "^0.6.3",
"@storybook/addon-docs": "^9.1.16",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test": "vitest run"
},
"devDependencies": {
"@rsbuild/core": "~1.6.3",
"@rsbuild/core": "~1.6.6",
"@rslib/core": "workspace:*",
"@storybook/addon-docs": "^9.1.16",
"@storybook/addon-onboarding": "^9.1.16",
Expand Down
Loading
Loading