Skip to content

Fully autonomous AI Agents system capable of performing complex penetration testing tasks

revert(frontend): drop unfounded resolve.dedupe + war-story comment

Sergey Kozyrenkoa3d19f077a2d
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts
index 3571d369..1b40833c 100644
--- a/frontend/vite.config.ts
+++ b/frontend/vite.config.ts
@@ -117,14 +117,6 @@ export default defineConfig(({ mode }) => {
alias: {
'@': path.resolve(__dirname, './src'),
},
- // pnpm hoists each package into its own `.pnpm/<name>@<version>/`
- // folder, which means transitive deps that import `react` resolve
- // it through their own private path. Without dedupe, two physical
- // copies of React end up in the bundle and any hook called from
- // inside the second copy throws "Cannot read properties of null
- // (reading 'useRef')" — that's what bit us when `use-debounce`
- // was added.
- dedupe: ['react', 'react-dom'],
},
server: serverConfig,
};