Skip to content
Draft
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 e2e/cases/swc-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"private": true,
"type": "module",
"dependencies": {
"@swc/plugin-remove-console": "^10.0.0"
"@swc/plugin-remove-console": "^11.0.0"
Copy link

Copilot AI Nov 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The version specifier ^11.0.0 is inconsistent with other SWC plugin updates in this PR. The @swc/plugin-prefresh in packages/plugin-preact/package.json uses ^11.1.0, and the lockfile resolves this to 11.1.0. Consider updating to ^11.1.0 for consistency across the codebase.

Suggested change
"@swc/plugin-remove-console": "^11.0.0"
"@swc/plugin-remove-console": "^11.1.0"

Copilot uses AI. Check for mistakes.
}
}
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rsbuild/core",
"version": "1.6.7",
"version": "1.6.7-canary-57e2a56d-20251120152633",
"description": "The Rspack-based build tool.",
"homepage": "https://rsbuild.rs",
"bugs": {
Expand Down Expand Up @@ -52,7 +52,7 @@
"bump": "pnpx bumpp --no-tag"
},
"dependencies": {
"@rspack/core": "1.6.4",
"@rspack/core": "npm:@rspack-canary/core@1.6.5-canary-57e2a56d-20251120152633",
"@rspack/lite-tapable": "~1.1.0",
"@swc/helpers": "^0.5.17",
"core-js": "~3.47.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/tests/__snapshots__/builder.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ exports[`should use Rspack as the default bundler > apply Rspack correctly 1`] =
"type": "javascript/auto",
"use": [
{
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack/core/dist/cssExtractLoader.js",
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack-canary/core/dist/cssExtractLoader.js",
},
{
"loader": "<ROOT>/packages/core/compiled/css-loader/index.js",
Expand Down
6 changes: 3 additions & 3 deletions packages/core/tests/__snapshots__/css.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exports[`plugin-css > should use custom cssModules rule when using output.cssMod
"type": "javascript/auto",
"use": [
{
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack/core/dist/cssExtractLoader.js",
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack-canary/core/dist/cssExtractLoader.js",
},
{
"loader": "<ROOT>/packages/core/compiled/css-loader/index.js",
Expand Down Expand Up @@ -310,7 +310,7 @@ exports[`should ensure isolation of PostCSS config objects between different bui
"type": "javascript/auto",
"use": [
{
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack/core/dist/cssExtractLoader.js",
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack-canary/core/dist/cssExtractLoader.js",
},
{
"loader": "<ROOT>/packages/core/compiled/css-loader/index.js",
Expand Down Expand Up @@ -430,7 +430,7 @@ exports[`should ensure isolation of PostCSS config objects between different bui
"type": "javascript/auto",
"use": [
{
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack/core/dist/cssExtractLoader.js",
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack-canary/core/dist/cssExtractLoader.js",
},
{
"loader": "<ROOT>/packages/core/compiled/css-loader/index.js",
Expand Down
6 changes: 3 additions & 3 deletions packages/core/tests/__snapshots__/default.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ exports[`applyDefaultPlugins > should apply default plugins correctly 1`] = `
"type": "javascript/auto",
"use": [
{
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack/core/dist/cssExtractLoader.js",
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack-canary/core/dist/cssExtractLoader.js",
},
{
"loader": "<ROOT>/packages/core/compiled/css-loader/index.js",
Expand Down Expand Up @@ -586,7 +586,7 @@ exports[`applyDefaultPlugins > should apply default plugins correctly when prod
"type": "javascript/auto",
"use": [
{
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack/core/dist/cssExtractLoader.js",
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack-canary/core/dist/cssExtractLoader.js",
},
{
"loader": "<ROOT>/packages/core/compiled/css-loader/index.js",
Expand Down Expand Up @@ -1590,7 +1590,7 @@ exports[`tools.rspack > should match snapshot 1`] = `
"type": "javascript/auto",
"use": [
{
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack/core/dist/cssExtractLoader.js",
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack-canary/core/dist/cssExtractLoader.js",
},
{
"loader": "<ROOT>/packages/core/compiled/css-loader/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ exports[`environment config > tools.rspack / bundlerChain can be configured in e
"type": "javascript/auto",
"use": [
{
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack/core/dist/cssExtractLoader.js",
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack-canary/core/dist/cssExtractLoader.js",
},
{
"loader": "<ROOT>/packages/core/compiled/css-loader/index.js",
Expand Down
8 changes: 4 additions & 4 deletions packages/plugin-less/tests/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ exports[`plugin-less > should add less-loader 1`] = `
"test": /\\\\\\.less\\$/,
"use": [
{
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack/core/dist/cssExtractLoader.js",
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack-canary/core/dist/cssExtractLoader.js",
},
{
"loader": "<ROOT>/packages/core/compiled/css-loader/index.js",
Expand Down Expand Up @@ -244,7 +244,7 @@ exports[`plugin-less > should add less-loader with excludes 1`] = `
"test": /\\\\\\.less\\$/,
"use": [
{
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack/core/dist/cssExtractLoader.js",
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack-canary/core/dist/cssExtractLoader.js",
},
{
"loader": "<ROOT>/packages/core/compiled/css-loader/index.js",
Expand Down Expand Up @@ -358,7 +358,7 @@ exports[`plugin-less > should add less-loader with tools.less 1`] = `
"test": /\\\\\\.less\\$/,
"use": [
{
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack/core/dist/cssExtractLoader.js",
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack-canary/core/dist/cssExtractLoader.js",
},
{
"loader": "<ROOT>/packages/core/compiled/css-loader/index.js",
Expand Down Expand Up @@ -469,7 +469,7 @@ exports[`plugin-less > should allow to use Less plugins 1`] = `
"test": /\\\\\\.less\\$/,
"use": [
{
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack/core/dist/cssExtractLoader.js",
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack-canary/core/dist/cssExtractLoader.js",
},
{
"loader": "<ROOT>/packages/core/compiled/css-loader/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@prefresh/core": "^1.5.9",
"@prefresh/utils": "^1.2.1",
"@rspack/plugin-preact-refresh": "^1.1.4",
"@swc/plugin-prefresh": "^10.0.0"
"@swc/plugin-prefresh": "^11.1.0"
},
"devDependencies": {
"@rsbuild/core": "workspace:*",
Expand Down
6 changes: 3 additions & 3 deletions packages/plugin-sass/tests/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ exports[`plugin-sass > should add sass-loader 1`] = `
"test": /\\\\\\.s\\(\\?:a\\|c\\)ss\\$/,
"use": [
{
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack/core/dist/cssExtractLoader.js",
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack-canary/core/dist/cssExtractLoader.js",
},
{
"loader": "<ROOT>/packages/core/compiled/css-loader/index.js",
Expand Down Expand Up @@ -276,7 +276,7 @@ exports[`plugin-sass > should add sass-loader with excludes 1`] = `
"test": /\\\\\\.s\\(\\?:a\\|c\\)ss\\$/,
"use": [
{
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack/core/dist/cssExtractLoader.js",
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack-canary/core/dist/cssExtractLoader.js",
},
{
"loader": "<ROOT>/packages/core/compiled/css-loader/index.js",
Expand Down Expand Up @@ -406,7 +406,7 @@ exports[`plugin-sass > should allow to use legacy API and mute deprecation warni
"test": /\\\\\\.s\\(\\?:a\\|c\\)ss\\$/,
"use": [
{
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack/core/dist/cssExtractLoader.js",
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack-canary/core/dist/cssExtractLoader.js",
},
{
"loader": "<ROOT>/packages/core/compiled/css-loader/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-stylus/tests/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ exports[`plugin-stylus > should add stylus loader config correctly 1`] = `
"test": /\\\\\\.styl\\(us\\)\\?\\$/,
"use": [
{
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack/core/dist/cssExtractLoader.js",
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack-canary/core/dist/cssExtractLoader.js",
},
{
"loader": "<ROOT>/packages/core/compiled/css-loader/index.js",
Expand Down Expand Up @@ -116,7 +116,7 @@ exports[`plugin-stylus > should allow to configure stylus options 1`] = `
"test": /\\\\\\.styl\\(us\\)\\?\\$/,
"use": [
{
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack/core/dist/cssExtractLoader.js",
"loader": "<ROOT>/node_modules/<PNPM_INNER>/@rspack-canary/core/dist/cssExtractLoader.js",
},
{
"loader": "<ROOT>/packages/core/compiled/css-loader/index.js",
Expand Down
Loading
Loading