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

CLI Many-to-Many Mode process .css files #2245

Closed
mwojslaw opened this issue May 15, 2024 · 2 comments
Closed

CLI Many-to-Many Mode process .css files #2245

mwojslaw opened this issue May 15, 2024 · 2 comments

Comments

@mwojslaw
Copy link

It seems like when using command sass input:output to process directories, not only sass files but also css files are being processed.

@nex3
Copy link
Contributor

nex3 commented May 15, 2024

That's correct and intentional. Sass supports plain CSS files as an input syntax.

@nex3 nex3 closed this as not planned Won't fix, can't repro, duplicate, stale May 15, 2024
@ntkme
Copy link
Contributor

ntkme commented May 15, 2024

If you want to stop process .css source files and only use them as dependencies, you can prefix the css filenames with underscore like _filename.css. You can still import as @import "filename";, but filename begin with underscore will not be processed as an entrypoint.

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

3 participants