Skip to content

Using in custom framework - cant use dynamic require/import #1072

Answered by ajnsn
MrEssex asked this question in Help (Svelte)
Discussion options

You must be logged in to vote

Hey @MrEssex

Due to this and the way we require resources, dynamic imports/require aren't an option.

I might not fully understand what you mean with that but CommonJSrequire() at it's core should include all components in your bundle and isn't dynamic? Which bundler are you using?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MrEssex
Comment options

Answer selected by MrEssex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants