Skip to content

Commit 01e99f2

Browse files
committed
disable optimization
1 parent 6b0fc8e commit 01e99f2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

dev-packages/e2e-tests/test-applications/create-remix-app-express-vite-dev/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
"@types/react-dom": "^18.2.7",
3838
"@typescript-eslint/eslint-plugin": "^6.7.4",
3939
"cross-env": "^7.0.3",
40-
"crypto": "^1.0.1",
4140
"esbuild": "0.19.12",
4241
"eslint": "^8.38.0",
4342
"eslint-import-resolver-typescript": "^3.6.1",

dev-packages/e2e-tests/test-applications/create-remix-app-express-vite-dev/vite.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,9 @@ export default defineConfig({
1515
ignoreConfigErrors: true,
1616
}),
1717
],
18+
19+
// This leads to problems because it includes dependencies from parent node_modules folders
20+
// which include stuff that breaks here
21+
// so we just disable it for this test
22+
optimizeDeps: { noDiscovery: true },
1823
});

0 commit comments

Comments
 (0)