You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dd94a83
Browse filesBrowse the repository at this point in the historyBrowse files
// Empty Arrays to avoid growing unlimited with every re-build.
211
227
externalMetadata.explicit.length=0;
212
228
externalMetadata.implicitServer.length=0;
213
229
externalMetadata.implicitBrowser.length=0;
214
230
215
231
externalMetadata.explicit.push(...explicit);
216
-
// Remove any absolute URLs (http://, https://, //) to avoid Vite's prebundling from processing them as files
@@ -536,23 +542,12 @@ export async function setupServer(
536
542
// Note: `true` and `/.*/` have different sematics. When true, the `external` option is ignored.
537
543
noExternal: /.*/,
538
544
// Exclude any Node.js built in module and provided dependencies (currently build defined externals)
539
-
external: serverExplicitExternal,
545
+
external: externalMetadata.explicit,
540
546
optimizeDeps: getDepOptimizationConfig({
541
-
/**
542
-
* *********************************************
543
-
* NOTE: Temporary disable 'optimizeDeps' for SSR.
544
-
* *********************************************
545
-
*
546
-
* Currently this causes a number of issues.
547
-
* - Deps are re-optimized everytime the server is started.
548
-
* - Added deps after a rebuild are not optimized.
549
-
* - Breaks RxJs (Unless it is added as external). See: https://github.com/angular/angular-cli/issues/26235
550
-
*/
551
-
552
547
// Only enable with caching since it causes prebundle dependencies to be cached
/** Remove any absolute URLs (http://, https://, //) to avoid Vite's prebundling from processing them as files. */
0 commit comments