Closed dctalbot closed 3 years ago
In rollup.config.js
put the smelte plugin right after the svelte plugin.
Not sure, which plugin interferes, but it is much likely the css
plugin. I think the documentation regarding this should be updated.
Thanks @micha-lmxt , that solved it!
I'm a bit new to the svelte/rollup space, but I followed the docs pretty straight forwardly and the css isn't being applied. I wonder if a dependency regression was introduced?
Steps to reproduce:
Add
const smelte = require("smelte/rollup-plugin-smelte");
to top ofrollup.config.js
Addsmelte
as last plugin inrollup.config.js
(see README) Addimport "smelte/src/tailwind.css";
Add some example smelte componentsSee no styles being applied.