You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the end @halfnelson came up with a solution where the pre-built component should declare at least the svelte/internal imports as globals (rollup) or externals (webpack).
You can see that comment and my comment afterwards stating what I did here: #3671 (comment)
If this is the problem that's being discussed here then it would seem that projects distributing pre-built Svelte components should set their bundles to be built expecting at least the svelte/internal import to be provided as a global somewhere.
I guess that sveltestrap case is to expect global svelte/internal import npm install --save svelte sveltestrap.
The text was updated successfully, but these errors were encountered:
Thanks for the heads up @telemmaite
We've had a lot of trouble know what the 'official' support for pre-bundled components are -
there's been SSR issues, suggestions to add svelte source files to bundle, etc.
Svelte 3 seems like a work in progress in this area compared to Svelte 1-2...
I'll see what we can do to improve this, thanks for the issue links
Hello, please take a look at the following two comments.
sveltejs/svelte#3448 (comment)
sveltejs/svelte#3448 (comment)
I think as mentioned here:
I guess that sveltestrap case is to expect global svelte/internal import
npm install --save svelte sveltestrap
.The text was updated successfully, but these errors were encountered: