Skip to content
Open
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: 0 additions & 2 deletions e2e/utils/runCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ export async function runDevCommand(
appDir,
env: {
PORT: port.toString(),
// This is an escape hatch for playwright test, playwright does not support lazyCompilation
RSPRESS_LAZY_COMPILATION: 'false',
},
});
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/node/initRsbuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ async function createInternalBuildConfig(
...(base.length > 0 ? { base: removeTrailingSlash(base) } : {}),
},
dev: {
lazyCompilation: process.env.RSPRESS_LAZY_COMPILATION !== 'false', // This is an escape hatch for playwright test, playwright does not support lazyCompilation
lazyCompilation: process.env.RSPRESS_LAZY_COMPILATION !== 'false', // This is an escape hatch
// Serve static files
setupMiddlewares: middlewares => {
middlewares.unshift(serveSearchIndexMiddleware(config));
Expand Down
Loading