Skip to content
Discussion options

You must be logged in to vote

Ok, what seems to fix the problem is adding this alias to the esbuild configuration:

  // Ensure Svelte runtime is shared across all components: Whenever you see an 
  // "import from 'svelte'"", resolve it once and reuse that same resolution everywhere.
  alias: {
    'svelte': 'svelte'
  }

Replies: 2 comments 1 reply

Comment options

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

Comment options

You must be logged in to vote
0 replies
Answer selected by reckart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants