egoist / egoist/rollup-plugin-postcss

Add possibility to extract file outside of directory with bundle

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

Description

Hey 👋

Current css extraction can't extract css file outside of directory with created bundle.

If you are lucky to use `output.file` with path `js/app.js`, it's impossible to move css file outside of `js` folder. Workarounds from https://github.com/egoist/rollup-plugin-postcss/issues/250 and https://github.com/egoist/rollup-plugin-postcss/issues/265 where you have to use copy plugin and rimraf are plain horrible.

There has to be a normal way of doing such a simple thing, be it emitFile removal, addition of option or api to opt out emitFile or something else.

Don't close this one until it's fixed please, let's gather ideas and find a solution.

rollup: 2.15.0
rollup-plugin-postcss: 3.1.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.