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

Svelte-vite: remove svelteOptions in automigration #20270

Merged
merged 4 commits into from
Dec 14, 2022

Conversation

JReinhold
Copy link
Contributor

@JReinhold JReinhold commented Dec 14, 2022

Issue: #20236

This PR makes the newFrameworks and sveltekitFramework automigrations remove the svelteOptions property in main.js, as it will break in 7.0 and will likely not be supported.

This implements Proposal A in #20236, see that issue for more context.

I won't change anything in MIGRATIONS.md until we've made a final decision about supporting it or not.

I tested this by upgrading a 6.5 project with SvelteKit, Svelte-Vite without svelteOptions and Svelte-Vite with svelteOptions.

@JReinhold JReinhold self-assigned this Dec 14, 2022
@JReinhold JReinhold added svelte maintenance User-facing maintenance tasks cli labels Dec 14, 2022
@JReinhold JReinhold marked this pull request as ready for review December 14, 2022 14:39
Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

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

LGTM!

@shilman shilman changed the title Svelte-Vite: remove svelteOptions in automigration Svelte-vite: remove svelteOptions in automigration Dec 14, 2022
@shilman shilman merged commit 12f4d50 into next Dec 14, 2022
@shilman shilman deleted the automigrate-svelteoptions branch December 14, 2022 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli maintenance User-facing maintenance tasks svelte
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants