Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): actually disable Vite prebundling…
Browse files Browse the repository at this point in the history
… file discovery

The `entries` option should be used instead of the `includes` option to disable the
file entry based discovery for Vite's prebundling. This discovery is unneeded due
to the built application files existing only in memory.
  • Loading branch information
clydin committed Jun 16, 2023
1 parent be0fe9f commit 480bd4e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ export async function setupServer(
// Exclude any provided dependencies (currently build defined externals)
exclude: prebundleExclude,
// Skip automatic file-based entry point discovery
include: [],
entries: [],
// Add an esbuild plugin to run the Angular linker on dependencies
esbuildOptions: {
plugins: [
Expand Down

0 comments on commit 480bd4e

Please sign in to comment.