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

emitCss #38

Open
ccadieux opened this issue Jun 10, 2021 · 1 comment
Open

emitCss #38

ccadieux opened this issue Jun 10, 2021 · 1 comment

Comments

@ccadieux
Copy link

I tried implement the pattern from this library but using https://github.com/sveltejs/template I did this because I wanted typescript and a dev server while developing the component.

I kept getting this error.

Identifier directly after number (Note that you need plugins to import files that are not JavaScript) 

Took me quite a while to figure out with rollup-plugin-svelte 7 you need emitCss: false.

    svelte({
      emitCss: false,
    }),

This might be obvious to other but as someone just starting with svelte it wasn't. Hopefully this might help someone else. It would be nice if this template was better aligned with https://github.com/sveltejs/template

@bohnacker
Copy link

bohnacker commented Jun 22, 2021

Thanks @ccadieux,
it already helped me!

(Edit: removed some remarks, because they are already covered in another issue)

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

2 participants