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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the expected behavior with partial imports being compiled to the destination folder? #73

Open
cosmosb opened this issue Apr 26, 2016 · 1 comment

Comments

@cosmosb
Copy link

cosmosb commented Apr 26, 2016

I can't find this information anywhere so asking here. I am trying to use partial CSS files like this:
@import "partials/colors";. Partial CSS file names start with '_'. In my gulp setup I see that all partial files are entering in the stream.

Is this plugin supposed to handle that and skip partial file from being compiled into CSS in the destination? Am I responsible to handle this? Usually Sass tools handle this and skip partial files.

@diverent2
Copy link

Hey there,

the described feature is not part /in the scope of precss.
It is possible by adding postcss-partial-import to your pipeline.
Precss only handles the file transforming, the rest is up to your pipeline and your postcss behavior.

For more info see:
postcss-import issue #39 | Sass docu

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