Skip to content

Commit ac39b81

Browse files
authored
feat(deps): update Rspack to v1.4.3 (#5532)
1 parent dabde3d commit ac39b81

File tree

6 files changed

+140
-127
lines changed

6 files changed

+140
-127
lines changed

e2e/cases/server/ssr-type-module/index.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ import { expect } from '@playwright/test';
44
rspackOnlyTest('support SSR load esm with type module', async ({ page }) => {
55
const rsbuild = await dev({
66
cwd: __dirname,
7-
rsbuildConfig: {},
7+
rsbuildConfig: {
8+
dev: {
9+
assetPrefix: './',
10+
},
11+
},
812
});
913

1014
const url1 = new URL(`http://localhost:${rsbuild.port}`);

e2e/cases/server/ssr/index.test.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,11 @@ rspackOnlyTest('support SSR with esm target', async ({ page }) => {
5252

5353
const rsbuild = await dev({
5454
cwd: __dirname,
55-
rsbuildConfig: {},
55+
rsbuildConfig: {
56+
dev: {
57+
assetPrefix: './',
58+
},
59+
},
5660
});
5761

5862
const url1 = new URL(`http://localhost:${rsbuild.port}`);
@@ -72,6 +76,9 @@ rspackOnlyTest('support SSR with esm target & external', async ({ page }) => {
7276
const rsbuild = await dev({
7377
cwd: __dirname,
7478
rsbuildConfig: {
79+
dev: {
80+
assetPrefix: './',
81+
},
7582
output: {
7683
externals: {
7784
react: 'react',

e2e/cases/source/source-include/index.test.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
import { build } from '@e2e/helper';
22
import { expect, test } from '@playwright/test';
3-
import { pluginCheckSyntax } from '@rsbuild/plugin-check-syntax';
43

54
test('should compile modules outside of project by default', async () => {
65
const rsbuild = await build({
76
cwd: __dirname,
8-
plugins: [pluginCheckSyntax()],
97
catchBuildError: true,
10-
rsbuildConfig: {
11-
output: {
12-
overrideBrowserslist: ['ie 11'],
13-
},
14-
},
158
});
169

1710
expect(rsbuild.buildError).toBeFalsy();
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { defineConfig } from '@rsbuild/core';
2+
import { pluginCheckSyntax } from '@rsbuild/plugin-check-syntax';
3+
4+
export default defineConfig({
5+
plugins: [pluginCheckSyntax()],
6+
output: {
7+
overrideBrowserslist: ['android >= 4.4'],
8+
},
9+
});

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"bump": "npx bumpp --no-tag"
5353
},
5454
"dependencies": {
55-
"@rspack/core": "1.4.2",
55+
"@rspack/core": "1.4.3",
5656
"@rspack/lite-tapable": "~1.0.1",
5757
"@swc/helpers": "^0.5.17",
5858
"core-js": "~3.43.0",

0 commit comments

Comments
 (0)