Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Svelte : stores support #132

Open
antoninadert opened this issue May 12, 2020 · 1 comment
Open

Svelte : stores support #132

antoninadert opened this issue May 12, 2020 · 1 comment

Comments

@antoninadert
Copy link

I just tried to use svelte stores and I had a problem in stores.js :

import { writable } from 'svelte/store';

^^^^^^

SyntaxError: Cannot use import statement outside a module

The same code seems to work in Rollup.

For your information the given code can be found on this REPL: https://svelte.dev/repl/a551a40e90374fd2861255c957123af2?version=3.22.2

Do you know what's going on there ?

@antoninadert
Copy link
Author

Little update: is there anyone who knows about that ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant