-
Notifications
You must be signed in to change notification settings - Fork 135
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
Patterns not working #128
Comments
Can you provide a minimal reproducible repository? |
I had the same problem and fixed it temporarily by excluding the folder AND the underlying files: |
I think issue you are having is pattern matching being relative to webpack's @Schlammsuhler's solution is correct, although I'm not sure about needing to also include I'm going to close this. Please reopen if you are still having an issue. |
I still think that if the folder js/skins is ignored, all underlying files should be automatically ignored too like in gitignore. Which is not the case. Please look into this |
@Schlammsuhler This package uses del, which uses globby for pattern matching. I think you're wanting globby's |
+1 for files should be automatically ignored too like in gitignore. |
Issue description
The patterns have no effect for me. I tried with different ones taking in mind this overview, but it still deletes files it shouldn't delete.
From my understanding this should only delete css and js files starting with
bundle
orapp
:But the output I get is:
I tried explicit excluding the
js/skins/
folder via:But it still removes files from within the skins folder.
It almost seems like its not taking effect at all (even tho its only deleting
.js
and.css
files and leaves other files untouched).Webpack Config
Environment
The text was updated successfully, but these errors were encountered: