-
Notifications
You must be signed in to change notification settings - Fork 19
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
Targeting Specific Font Files #29
Comments
Thanks for filing @archy-bold! Not currently supported but it should be fairly simple to implement. Would you be interested in picking that up? :) |
I'll add it to my to do list :) Is there a usual webpack standard for that sort of thing? Using a regex to string/regex to match files? |
Hm not a standard perse but convention would suggest a regex option for the file names to match. Maybe |
Add two options: allowedFilesRegex & skippedFilesRegex. Both can be null or RegExp, they're mutually exclusive and allowedFilesRegex has priority over skippedFilesRegex. Fix patrickhulce#29 Fix patrickhulce#5
@patrickhulce when you got time to check it, I made a pull request addressing this issue and #5 :) |
The script works great, but has the unfortunate side effect of running on every font I use in my CSS including regular type-faces.
Is it possible to target only specific font files? ie only font-awesome and not other fonts.
The text was updated successfully, but these errors were encountered: