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

Doesn't work on REPL #117

Open
Wolfr opened this issue Apr 26, 2020 · 3 comments
Open

Doesn't work on REPL #117

Wolfr opened this issue Apr 26, 2020 · 3 comments

Comments

@Wolfr
Copy link

Wolfr commented Apr 26, 2020

Hi there,

just writing in that the example code doesn't work on the REPL... perhaps because it tries to load CSS? I am not sure, but it says “Unexpected token (Note that you need plugins to import files that are not JavaScript)”.

See https://svelte.dev/repl/5f4be8826e32489bab8a0f658dbaaea8?version=3.21.0

@gijswobben
Copy link

Just make sure you have a preprocessor in your rollup config that will let you import css files.

@johannesholmberg
Copy link

Same issue here. Would be great if you could provide further instructions on getting the preprocessor installed correctly.

@kkukshtel
Copy link

I was having the same issue, ended up just basically copying this commit changes to the rollup config and it seems to be working now. mozilla/glean-dictionary@b0ae349

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

4 participants