New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade Vite to 3.2 #5212
Upgrade Vite to 3.2 #5212
Conversation
🦋 Changeset detectedLatest commit: 0e16353 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@@ -138,7 +139,7 @@ async function ssrBuild(opts: StaticBuildOptions, internals: BuildInternals, inp | |||
ssr: true, | |||
// improve build performance | |||
minify: false, | |||
polyfillModulePreload: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is now deprecated in favour of the modulePreload
field.
Strange that it's failing. Was working for me locally. Gonna check this again tomorrow. (FIXED) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Changes
Upgrade Vite 3.2
Fix #5063 - Allow importing public files in SSR
Testing
Added test to
vue-component
Docs
N/A. Public files should work before.