egoist / egoist/rollup-plugin-postcss
Can't get it to work with svelte
- Dominant language
- JavaScript
- Stars
- 689
- Forks
- 210
- PR merge metrics
- No merged PRs in 30d
Description
```
plugins: [
postcss({
extract: true,
plugins: []
}),
svelte({
// enable run-time checks when not in production
dev: !production,
// we'll extract any component CSS out into
// a separate file — better for performance
css: css => {
css.write('public/bundle.css');
}
}),
```
Inside Login.svelte
```
footer {
display: flex;
justify-content: space-between;
align-items: center;
& button {
background-color: red;
}
}
```
Throws a complition error. doesn't like & for css-nesting.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.