attempt to fix playwright (#4198)

* disable precompress by default

* go back to nuking wasm dir in some cases

* enable more wasm-opt flags, use stable

* add better logging for wasm-opt failure
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2025-05-25 18:51:40 +01:00
1 parent 22e0682f10
commit 9027ffc278
6 files changed
+568 -420

No files matched your search

+1 -4
View File
@@ -562,10 +562,7 @@ fn build_serve_dir(runner: &AppServer) -> axum::routing::MethodRouter {
let app = &runner.client;
let cfg = &runner.client.build.config;
let out_dir = app
.build
.build_dir(Platform::Web, app.build.release)
.join("public");
let out_dir = app.build.root_dir();
let index_on_404: bool = cfg.web.watcher.index_on_404;
get_service(