Skip to content

Commit

Permalink
chore: add builtin:swc-loader
Browse files Browse the repository at this point in the history
  • Loading branch information
SyMind committed Jan 5, 2025
1 parent 8ca38c9 commit 148c65f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/bench/loader.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ beforeAll(() => {
const loader = require.resolve("./loaders/noop");
for (let i = 0; i < 100; i++) {
use.push(loader);
use.push("builtin:swc-loader");
}

return new Promise<void>((resolve, reject) => {
Expand Down
2 changes: 1 addition & 1 deletion tests/bench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"bench": "vitest bench --run",
"bench:debug": "vitest bench --run --disable-console-intercept"
"bench:debug": "vitest bench --disable-console-intercept --run"
},
"devDependencies": {
"@codspeed/vitest-plugin": "^4.0.0",
Expand Down

0 comments on commit 148c65f

Please sign in to comment.