Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

fix(e2e): resolve settings i18n subpaths

vastsa210943c3d971
diff --git a/scripts/e2e-settings-scroll.mjs b/scripts/e2e-settings-scroll.mjs
index 8b938aab2..f3cf78a98 100644
--- a/scripts/e2e-settings-scroll.mjs
+++ b/scripts/e2e-settings-scroll.mjs
@@ -26,7 +26,7 @@ try {
await build({ entryPoints: [join(root, "scripts/e2e/settings-scroll.jsx")],
outfile: join(temp, "renderer.js"), bundle: true, platform: "browser", format: "esm", jsx: "automatic",
define: { "process.env.NODE_ENV": '"production"', "import.meta.env.DEV": "true" },
- alias: { "@pi-desktop/i18n": join(root, "packages/i18n/src/index.ts"),
+ alias: { "@pi-desktop/i18n": join(root, "packages/i18n/src"),
react: join(root, "apps/desktop/node_modules/react"),
"react-dom": join(root, "apps/desktop/node_modules/react-dom"),
i18next: join(root, "apps/desktop/node_modules/i18next"),