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
Not exactly sure if this is an issue with the loader or svelte.
I have a very basic webpack setup (like in the official template repo).
Whenever import anything from svelte, e.g.:
import{onMount}from'svelte';
I get a bunch of errors:
ERROR in ./node_modules/svelte/index.mjs 1:0-10:20
Can't reexport the named export 'afterUpdate' from non EcmaScript module (only default export is available)
@ ./src/App.html
@ ./src/index.js
ERROR in ./node_modules/svelte/index.mjs 1:0-10:20
Can't reexport the named export 'beforeUpdate' from non EcmaScript module (only default export is available)
@ ./src/App.html
@ ./src/index.js
ERROR in ./node_modules/svelte/index.mjs 1:0-10:20
Can't reexport the named export 'createEventDispatcher' from non EcmaScript module (only default export is available)
@ ./src/App.html
@ ./src/index.js
ERROR in ./node_modules/svelte/index.mjs 1:0-10:20
Can't reexport the named export 'getContext' from non EcmaScript module (only default export is available)
@ ./src/App.html
@ ./src/index.js
ERROR in ./node_modules/svelte/index.mjs 1:0-10:20
Can't reexport the named export 'onDestroy' from non EcmaScript module (only default export is available)
@ ./src/App.html
@ ./src/index.js
ERROR in ./node_modules/svelte/index.mjs 1:0-10:20
Can't reexport the named export 'onMount' from non EcmaScript module (only default export is available)
@ ./src/App.html
@ ./src/index.js
ERROR in ./node_modules/svelte/index.mjs 1:0-10:20
Can't reexport the named export 'setContext' from non EcmaScript module (only default export is available)
@ ./src/App.html
@ ./src/index.js
ERROR in ./node_modules/svelte/index.mjs 1:0-10:20
Can't reexport the named export 'tick' from non EcmaScript module (only default export is available)
@ ./src/App.html
@ ./src/index.js
The text was updated successfully, but these errors were encountered:
Hi,
Not exactly sure if this is an issue with the loader or svelte.
I have a very basic webpack setup (like in the official template repo).
Whenever import anything from
svelte
, e.g.:I get a bunch of errors:
The text was updated successfully, but these errors were encountered: