Skip to content

Conversation

@clydin
Copy link

@clydin clydin commented Dec 8, 2023

Currently, a plugin that returns a loader value of empty also requires the contents field to be set to a non-null value for the loader to be used. Since the provided contents will never be used in the empty loader case, the contents field is now no longer required in the case when an empty loader is returned. This removes the chance of a plugin unintentionally not using the returned empty loader.

Currently, a plugin that returns a `loader` value of `empty` also
requires the `contents` field to be set to a non-null value for the
loader to be used. Since the provided contents will never be used
in the empty loader case, the `contents` field is now no longer
required in the case when an `empty` loader is returned. This removes
the chance of a plugin unintentionally not using the returned empty
loader.
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