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

fix(dynamic-import-vars): Allow a "no files found" error to be emitted as warning #1625

Merged
merged 2 commits into from
Nov 28, 2023

Conversation

koddsson
Copy link
Contributor

@koddsson koddsson commented Nov 6, 2023

Rollup Plugin Name: dynamic-import-vars

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

If yes, then include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers: #1611

Description

This PR allows the "no files found" error introduced in #1611 to be emitted as a warning using the existing warnOnError option.

@koddsson koddsson requested a review from shellscape as a code owner November 6, 2023 09:52
@koddsson koddsson changed the title Allow a "no files found" error to be emitted as warning feat(dynamic-import-vars): Allow a "no files found" error to be emitted as warning Nov 6, 2023
@koddsson
Copy link
Contributor Author

Hey @shellscape! Could you take a look at this when you have time? Thanks :)

@shellscape shellscape changed the title feat(dynamic-import-vars): Allow a "no files found" error to be emitted as warning fix(dynamic-import-vars): Allow a "no files found" error to be emitted as warning Nov 25, 2023
@shellscape
Copy link
Collaborator

Sorry about the latency on reviewing. A little bananas on my end lately.

@koddsson
Copy link
Contributor Author

Sorry about the latency on reviewing. A little bananas on my end lately.

All good! I never know the etiquette as some people are busy and others just forgot or missed the notification 😄

@shellscape shellscape merged commit bacfedb into rollup:master Nov 28, 2023
5 checks passed
@koddsson koddsson deleted the allow-warning-when-no-files-found branch December 18, 2023 14:34
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.

2 participants