Skip to content
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

Merged
merged 5 commits into from Oct 28, 2022
Merged

Upgrade Vite to 3.2 #5212

merged 5 commits into from Oct 28, 2022

Conversation

bluwy
Copy link
Member

@bluwy bluwy commented Oct 27, 2022

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.

@changeset-bot
Copy link

changeset-bot bot commented Oct 27, 2022

🦋 Changeset detected

Latest 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

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Oct 27, 2022
@@ -138,7 +139,7 @@ async function ssrBuild(opts: StaticBuildOptions, internals: BuildInternals, inp
ssr: true,
// improve build performance
minify: false,
polyfillModulePreload: false,
Copy link
Member Author

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.

@bluwy bluwy marked this pull request as draft October 27, 2022 14:25
@bluwy
Copy link
Member Author

bluwy commented Oct 27, 2022

Strange that it's failing. Was working for me locally. Gonna check this again tomorrow. (FIXED)

@bluwy bluwy marked this pull request as ready for review October 28, 2022 13:14
Copy link
Member

@delucis delucis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@bluwy bluwy merged commit a609a89 into main Oct 28, 2022
@bluwy bluwy deleted the update-vite-3.2 branch October 28, 2022 14:03
@astrobot-houston astrobot-houston mentioned this pull request Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Server builds fail with Vue plugin
3 participants