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

Version Packages (next) #132

Merged
merged 2 commits into from
Aug 12, 2021
Merged

Version Packages (next) #132

merged 2 commits into from
Aug 12, 2021

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 5, 2021

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@sveltejs/vite-plugin-svelte@1.0.0-next.16

Major Changes

  • automatically include svelte in vite config optimizeDeps.include (#137)

    Previously, svelte was automatically excluded. We include it now by default to improve deduplication.

    As a result, svelte is pre-bundled by vite during dev, which it logs when starting the devserver

    Pre-bundling dependencies:
      svelte/animate
      svelte/easing
      svelte/internal
      svelte/motion
      svelte/store
      (...and 2 more)
    (this will be run only when your dependencies or config have changed)

    And it's also visible in the browsers network tab, where requests for svelte imports now start with node_modules/.vite/ during dev.

    Check out the vite pre-bundling documentation for more information.

    To get the old behavior back, add the following to your vite config

    optimizeDeps: {
    	exclude: ['svelte'];
    }

Patch Changes

  • prepare for a change in vite 2.5.0 that would lead to errors in preprocessor dependency handling (fixes #130) (5ea82cb)

@dominikg dominikg merged commit 6196351 into main Aug 12, 2021
@dominikg dominikg deleted the changeset-release/main branch August 12, 2021 17:39
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.

[vite 2.5 beta] change in addWatchFile breaks css dependency handling in vite-plugin-svelte
1 participant