sveltejs / template

Template for building basic applications with Svelte

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Package css into js

Lete114 opened this issue · comments

commented

I want to package css into js to dynamically generate <style> tags, how do I configure it?

commented

ok,I got it
Add emitCss: false to rollup's plugin svelte

plugins: [
    svelte({
      // ....
      emitCss: false,
      // ....
    })
]