Skip to content

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.

4 participants