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) #51

Merged
merged 2 commits into from
Jun 11, 2021
Merged

Version Packages (next) #51

merged 2 commits into from
Jun 11, 2021

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jun 3, 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.11

Major Changes

  • #54 0f7e256 Thanks @dominikg! - feat: convert to es module with cjs fallback, use named export instead of default

    If you are using vite-plugin-svelte with require, you should switch to esm and import the named export "svelte".
    An example can be found in the usage section of the readme

    For existing esm configs update your import to use the new named export.

    - import svelte from '@sveltejs/vite-plugin-svelte';
    + import { svelte } from '@sveltejs/vite-plugin-svelte';

    continuing with cjs/require is discouraged but if you must use it, update your require statement to use the named export

    - const svelte = require('@sveltejs/vite-plugin-svelte');
    + const { svelte } = require('@sveltejs/vite-plugin-svelte');

Minor Changes

  • #45 673cf61 Thanks @dominikg! - Feature: log svelte compiler warnings to console. use options.onwarn to customize logging

Patch Changes

@github-actions github-actions bot force-pushed the changeset-release/main branch 3 times, most recently from 4c7fe2b to 6bfb6ee Compare June 9, 2021 07:34
@dominikg dominikg merged commit 8b57cf3 into main Jun 11, 2021
@dominikg dominikg deleted the changeset-release/main branch June 11, 2021 13:38
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.

None yet

1 participant