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
84d3657: fix: resolve bare dot and extension-less imports in value/ for Svelte REPL
The Svelte playground CDN resolves ESM imports without a bundler, requiring explicit file extensions and no bare directory imports. Bare dot imports like from '.' compiled to JS caused the REPL to fail resolving dist/value/ as a directory path.
Fixed by replacing all from '.', from '..', and extension-less relative imports within the value/ directory with explicit ./index.js paths and proper .js extensions.
e036a76: Remove sideEffects: false from package.json to fix module resolution in the Svelte REPL playground.
Bundlers honour this flag by tree-shaking modules that are imported only for their side effects. In the Svelte playground this caused the module that resolves the "." bare specifier to be dropped entirely, producing:
error occurred while trying to resolve . within npm://$/motion-start@0.1.18/dist/value/use-motion-template.js