Skip to content

Conversation

khawkins98
Copy link

@khawkins98 khawkins98 commented Feb 3, 2023

A small change that allows a site file configuration to be disabled by ending it with .disabled.js.

I've found this easier/preferable to temporarily deleting the file.

Another approach would be to add a enabled: true/false property, but this was simpler to implement -- and I think it's more obvious if a site is disabled.

Maybe you'll like the idea.

Update

I've now seen it's possible to add a skip: true parameter.

I think that makes this PR not required -- however I think this could have been more obvious, open to a PR adding that to the readme?

A small change that allows a site file configuration to be disabled by ending it with `.disabled.js`.

I've found this easier/preferable to temporarily deleting the file.

Another approach would be to add a `enabled: true/false` property, but this was simpler to implement -- and I think  it's more obvious if a site is disabled.

Maybe you'll like the idea.
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

Successfully merging this pull request may close these issues.

1 participant