Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(builder): update rspack to 0.3.6 #4767

Merged
merged 2 commits into from
Oct 10, 2023
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
7 changes: 7 additions & 0 deletions .changeset/shiny-dolphins-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@modern-js/builder-rspack-provider': patch
---

chore(builder): update rspack to 0.3.6

chore(builder): 升级 rspack 到 0.3.6
6 changes: 3 additions & 3 deletions packages/builder/builder-rspack-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
"@modern-js/types": "workspace:*",
"@modern-js/utils": "workspace:*",
"@babel/preset-typescript": "^7.22.15",
"@rspack/core": "0.3.5",
"@rspack/dev-client": "0.3.5",
"@rspack/plugin-html": "0.3.5",
"@rspack/core": "0.3.6",
"@rspack/dev-client": "0.3.6",
"@rspack/plugin-html": "0.3.6",
"@swc/helpers": "0.5.1",
"rspack-manifest-plugin": "5.0.0-alpha0",
"caniuse-lite": "^1.0.30001520",
Expand Down
94 changes: 47 additions & 47 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions tests/e2e/builder/cases/css/less-exclude/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import path from 'path';
import { expect } from '@modern-js/e2e/playwright';
import { expect, test } from '@modern-js/e2e/playwright';
import { build } from '@scripts/shared';
import { webpackOnlyTest } from '@scripts/helper';

// 'error[javascript]: JavaScript parsing error' in rspack
// The rspack default rule type seems to be inconsistent with webpack. Not sure if that will fix when disableTransformByDefault supported.
webpackOnlyTest('should exclude specified less file', async () => {
test('should exclude specified less file', async () => {
const builder = await build({
cwd: __dirname,
entry: { index: path.resolve(__dirname, './src/index.js') },
Expand Down
5 changes: 2 additions & 3 deletions tests/e2e/builder/cases/css/sass-exclude/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import path from 'path';
import { expect } from '@modern-js/e2e/playwright';
import { expect, test } from '@modern-js/e2e/playwright';
import { build } from '@scripts/shared';
import { webpackOnlyTest } from '@scripts/helper';

webpackOnlyTest('should exclude specified scss file', async () => {
test('should exclude specified scss file', async () => {
const builder = await build({
cwd: __dirname,
entry: { index: path.resolve(__dirname, './src/index.js') },
Expand Down
Loading