File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -513,17 +513,6 @@ export interface ExperimentalOptions {
513513}
514514
515515export interface LegacyOptions {
516- /**
517- * In Vite 4, SSR-externalized modules (modules not bundled and loaded by Node.js at runtime)
518- * are implicitly proxied in dev to automatically handle `default` and `__esModule` access.
519- * However, this does not correctly reflect how it works in the Node.js runtime, causing
520- * inconsistencies between dev and prod.
521- *
522- * In Vite 5, the proxy is removed so dev and prod are consistent, but if you still require
523- * the old behaviour, you can enable this option. If so, please leave your feedback at
524- * https://github.com/vitejs/vite/discussions/14697.
525- */
526- proxySsrExternalModules ?: boolean
527516 /**
528517 * In Vite 6.0.8 and below, WebSocket server was able to connect from any web pages. However,
529518 * that could be exploited by a malicious web page.
@@ -719,7 +708,6 @@ export const configDefaults = Object.freeze({
719708 removeSsrLoadModule : undefined ,
720709 } ,
721710 legacy : {
722- proxySsrExternalModules : false ,
723711 skipWebSocketTokenCheck : false ,
724712 } ,
725713 logLevel : 'info' ,
You can’t perform that action at this time.
0 commit comments