Skip to content

Commit

Permalink
feat: support rspack native plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
LingyuCoder committed Jan 17, 2025
1 parent 90564b3 commit 25af8b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions e2e/cases/doctor-webpack/plugins/plugin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ async function webpack(tapName: string, compile: typeof compileByWebpack5) {
return res;
}

// test

test('webpack5 plugins tests', async () => {
const tapName = 'Foo';
await webpack(tapName, compileByWebpack5);
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"test": "cross-env NODE_OPTIONS=--max-old-space-size=8192 pnpm run ut",
"test:all": "pnpm run test && pnpm run e2e",
"sort-package-json": "npx sort-package-json \"packages/*/package.json\"",
"ut": "vitest run",
"ut": "vitest run --poolOptions.threads.maxThreads 2 --poolOptions.threads.minThreads 1",
"ut:watch": "vitest"
},
"nano-staged": {
Expand Down Expand Up @@ -50,7 +50,8 @@
},
"pnpm": {
"overrides": {
"react-dom": "18.3.1"
"react-dom": "18.3.1",
"@rspack/core": "npm:@rspack-canary/[email protected]"
}
},
"packageManager": "[email protected]",
Expand Down

0 comments on commit 25af8b6

Please sign in to comment.