Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants