-
Notifications
You must be signed in to change notification settings - Fork 23
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
Multimatch filtering to source files #11
Comments
Hey @ubenzer, thanks for the suggestion. Out of curiosity, was there anything in particular about the other Metalsmith plugins (like metalsmith-ignore) that didn't work out for you? |
Hey @stevenschobert , metalsmith-ignore fully deletes a file, so it doesn't appear on the build folder. I want some The reason behind this is: I am trying to write a metalsmith-powered blog engine and I only want theme-related scss files to be compiled. If user adds a scss files to their post (say, he is writing a scss tutorial and adds an example |
@ubenzer Ah. Really interesting use-case. I could see how adding some sort of |
Just leave it as is, not compile. I can come up with a PR this week if I have time, if that is OK with you. |
What's the state of this as it can be useful. I have my main sass files and I have some framework sass files that I import into my main sass. Things go as planned but the frame work sass is being compiled as a .css into the output as well which is not what I want as its already being compiled into the main sass file thus app/ my metalsmith.json has
my main.scss has
what I get outputted css/ why is it outputting the style.css? |
Hi. I was going to open an issue but then saw this issue that described what I was looking for. In my use case, I have a documentation site that pulls in a standalone angular webapp (that contains both a index.scss and index.css). The files in the webapp directory are to be left as-is. With metalsmith-in-place and metalsmith-layouts, i can specify It would be great to have a config to only process specific files. For me, I would use |
Hello,
Is it possible to add a filtering mechanism, so it can be determined which files to be processed to css and which files should be left out as-is?
Thanks for this plugin!
The text was updated successfully, but these errors were encountered: