egoist / egoist/rollup-plugin-postcss
Trim inline sourcemaps emitted from other rollup plugin
- Dominant language
- JavaScript
- Stars
- 689
- Forks
- 210
- PR merge metrics
- No merged PRs in 30d
Description
I'm using svelte and when I enable `emitCss` option, rollup-plugin-postcss should receive css "files" with inline sourcemap.
`rollup.config.js`
``` javascript
...
plugins: [
svelte({
...
// Emit CSS as "files" for other plugins to process
emitCss: true
}),
postcss({
extract: true,
sourceMap: true
})
...
]
...
```
But the output has 2 sourcemaps, the inline sorcemap from the emitted svelte css files and from the postcss generated sourcemap. It would be nice to trim the emitted inline sourcemap and extract it to the specified `.map` file, reducing the file size significantly.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.