Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Package css into js #290

Closed
Lete114 opened this issue May 12, 2022 · 1 comment
Closed

Package css into js #290

Lete114 opened this issue May 12, 2022 · 1 comment

Comments

@Lete114
Copy link

Lete114 commented May 12, 2022

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

@Lete114
Copy link
Author

Lete114 commented May 12, 2022

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

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

@Lete114 Lete114 closed this as completed May 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant