Skip to content

emitCss #38

@ccadieux

Description

@ccadieux

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions