-
-
Notifications
You must be signed in to change notification settings - Fork 212
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impossible to extract CSS in a parent folder #265
Comments
Try to replace |
related #266 |
Hi @SASUKE40 and thank you for the reply..
And if I put a relative path like so:
I'm using rollup v. 2.6.1 and rollup-plugin-postcss v. 2.8.2 |
The location of the generated file outside the bundle directory is not allowed in rollup v2, use |
Hi again @SASUKE40 , I assumed that you were talking about v2.6.4 of this plugin rather than rollup itself which doesn't have 2.6.4 btw (I know it's obvious). Indeed, now it's working, but in this case
So I guess it's a trade-off to deal with for the moment.. I'm new to this front-end frameworks, pipeline and tooling world.. But I'm learning a lot BTW.. Anyway, thanks again for all the great work.. |
I am dealing with unpublishing the versions between |
This is basically the same issue as #250, and my comment shows a diff on how this can be avoided. |
Hi,
I had many difficulties to replace (from scratch) a webpack pipeline with a rollup pipeline.
And in order to be transparent against my current workflow I want to end up with two outputed files
static/js/app.js
andstatic/css/app.css
.Now I am able to extract the CSS ouput in its own app.css file, but it remains on the
static/js/
directory.When I put for example
extract: '../css/app.css'
I got the following error:What's weird is that when I use an absolute path like the following (and I deliberately changed the name):
extract: '/public/static/css/app.css'
I still got the same error with the relative parent path (two dots ../):
So somewhere the tool is smart enough to interpret the path, but why I'm not able to extract to a sibling or parent directory?
In the meantime, does anyone know how I can manage to get the CSS generated in that file?
The text was updated successfully, but these errors were encountered: