egoist / egoist/rollup-plugin-postcss

Can't get it to work with svelte

Open
#200 4 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.