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

exclude-pattern improvements #5

Open
pondermatic opened this issue Sep 10, 2021 · 0 comments
Open

exclude-pattern improvements #5

pondermatic opened this issue Sep 10, 2021 · 0 comments
Assignees

Comments

@pondermatic
Copy link
Contributor

Is your feature request related to a problem? Please describe.
No.

Describe the solutions you'd like

  1. Exclude all minimized JavaScript files, not just the ones is the normal assets/js/ directory.
    -    <exclude-pattern>assets/js/*.min.js</exclude-pattern>
    +    <exclude-pattern>*.min.js</exclude-pattern>
  2. Only exclude these directories if they are at the top-level path that is being filtered.
    -    <exclude-pattern>tests/*</exclude-pattern>
    +    <exclude-pattern type="relative">^tests/*</exclude-pattern>
    -    <exclude-pattern>tmp/*</exclude-pattern>
    +    <exclude-pattern type="relative">^tmp/*</exclude-pattern>
    -    <exclude-pattern>gulpfile.js/*</exclude-pattern>
    +    <exclude-pattern type="relative">^gulpfile.js/*</exclude-pattern>
  3. Limit the pattern to directories with a specific name. ./vendor/ vs. ./prefix-vendor/
    -    <exclude-pattern>vendor/*</exclude-pattern>
    +    <exclude-pattern>*/vendor/*</exclude-pattern>
    -    <exclude-pattern>node_modules/*</exclude-pattern>
    +    <exclude-pattern>*/node_modules/*</exclude-pattern>
@thomasplevy thomasplevy self-assigned this Sep 10, 2021
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

2 participants