Skip to content

build(sveltekit): Upgrade to Rollup 3 #7862

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

Merged
merged 1 commit into from
Apr 17, 2023
Merged

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Apr 14, 2023

This PR bumps rollup from 2.6 to 3.2 - for now just in the SvelteKit SDK. We need this to dynamically import users' svelte.config.js files at build time. More specifically, rollup 3 introduces output.dynamicImportsInCjs which stops rollup from converting dynamic import statements to dynamic (async) require calls.

ESM and CJS... Just gotta love it.

We can think about updating rollup in the other packages as well but the change is ofc riskier and will probably require a lot more changes.

sort of ref #7669

@Lms24 Lms24 merged commit 4c57ca4 into develop Apr 17, 2023
@Lms24 Lms24 deleted the lms/sveltekit-bump-rollup-3 branch April 17, 2023 08:29
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.

3 participants