diff --git a/protocol-designer/vite.config.mts b/protocol-designer/vite.config.mts index 455015791bc..ea644646f87 100644 --- a/protocol-designer/vite.config.mts +++ b/protocol-designer/vite.config.mts @@ -113,6 +113,8 @@ export default defineConfig(async (): Promise => { esbuildOptions: { target: 'es2020', }, + // For unknown reasons, PD whitescreens on launch unless we have this. + include: ['tslib'], }, css: { postcss: { @@ -143,6 +145,8 @@ export default defineConfig(async (): Promise => { }, resolve: { conditions: ['browser'], + // For unknown reasons, PD whitescreens on launch unless we have this. + dedupe: ['tslib'], alias: { // todo(mm, 2025-10-27): These cross-project aliases cause trouble like // files being processed with the wrong config (the config from the