Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to extract file outside of directory with bundle #284

Open
vladshcherbin opened this issue Jun 9, 2020 · 1 comment
Open

Comments

@vladshcherbin
Copy link

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 #250 and #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

@MaxMotovilov
Copy link

An option to inject assets with name instead of fileName would let assetFileName mechanism to customize the location.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants