Skip to content

fix(build): apply resolve.external/noExternal to server environments#18495

Merged
patak-cat merged 1 commit intomainfrom
externalize-server-environments
Oct 28, 2024
Merged

fix(build): apply resolve.external/noExternal to server environments#18495
patak-cat merged 1 commit intomainfrom
externalize-server-environments

Conversation

@bluwy
Copy link
Copy Markdown
Member

@bluwy bluwy commented Oct 28, 2024

Description

Apply resolve.external/noExternal to server environments during build. Previously it only applied if config.build.ssr is set, and I'm not sure if that's intentional. Perhaps it's related to this:

// [feedback]
// is this still meant to be used?
// for example, `ssr: true` seems to make `minify: false` automatically
// and also externalization.
ssr: true,

@patak-cat patak-cat merged commit 5a967cb into main Oct 28, 2024
@patak-cat patak-cat deleted the externalize-server-environments branch October 28, 2024 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants