Skip to content

Commit 086996f

Browse files
committed
oops
1 parent 8b019e5 commit 086996f

File tree

1 file changed

+0
-5
lines changed
  • packages/kit/src/exports/vite/dev

1 file changed

+0
-5
lines changed

packages/kit/src/exports/vite/dev/index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -395,11 +395,6 @@ export async function dev(vite, vite_config, svelte_config) {
395395
const ws_send = vite.ws.send;
396396
/** @param {any} args */
397397
vite.ws.send = function (...args) {
398-
// We need to reapply the patch after Vite did dependency optimizations
399-
// because that clears the module resolutions
400-
if (args[0]?.type === 'full-reload' && args[0].path === '*') {
401-
void align_exports();
402-
}
403398
return ws_send.apply(vite.ws, args);
404399
};
405400

0 commit comments

Comments
 (0)