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

Add "ignore" field in ws-resources.json #285

Open
1 task done
Tzal3x opened this issue Nov 5, 2024 · 0 comments
Open
1 task done

Add "ignore" field in ws-resources.json #285

Tzal3x opened this issue Nov 5, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request site-builder

Comments

@Tzal3x
Copy link
Collaborator

Tzal3x commented Nov 5, 2024

Description

When publishing/updating a site, there should be the option to skip certain files.

To achieve this there should be a new "ignore" field in `ws-resources.json'. It will contain paths to the files that should be ignored with the possibility of using wildcards.

The pattern matching of wildcards will be the same as routes: longest match, with the wildcard allowed only on the last position.

Example:

{
    "headers": {...},
    "routes": {...},
    "ignore": [ 
         "/foo/*",
         "/baz/bar/*"
    ]
}

Component

site-builder

Code of Conduct

  • I agree to follow this project's Code of Conduct.
@Tzal3x Tzal3x added enhancement New feature or request site-builder labels Nov 5, 2024
@Tzal3x Tzal3x self-assigned this Nov 5, 2024
@Tzal3x Tzal3x assigned chariskms and unassigned Tzal3x Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request site-builder
Projects
None yet
Development

No branches or pull requests

2 participants