egoist / egoist/rollup-plugin-postcss

Weird text overriding

Open
#405 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
689
Forks
210
PR merge metrics
No merged PRs in 30d

Description

I'm trying `-postcss` instead of `-css-only` to try to solve another problem, but I face this one here.

With this configuration:
```js
{
...
scss(),
vue({
css: false
}),
postcss({
extract: true,
sourceMap: true
}),
...
}
```

this is the begining of the generated `index.css` file :
```css

/*# sourceMappingURL=index.css.map */gleapis.com/css2?family=Lato:ital,wght@0,400%3B0,700%3B1,400%3B1,700&subset=latin&display=swap");
.body {
overflow: hidden;
}
.....
```

The first non-empty line is on line 12.

Without source-mapping, this is the beginning:

```css

UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400%3B0,700%3B1,400%3B1,700&subset=latin&display=swap");
.body {
overflow: hidden;
}
.....
```

PS: I tried with `3.0.0` and `4.0.2`

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.