Skip to content

refactor(pluginutils,node-resolve): replace test with includes - #1787

Merged
shellscape merged 5 commits into
rollup:masterfrom
btea:refactor/use-replace-test-with-includes
Dec 15, 2024
Merged

refactor(pluginutils,node-resolve): replace test with includes#1787
shellscape merged 5 commits into
rollup:masterfrom
btea:refactor/use-replace-test-with-includes

Conversation

@btea

@btea btea commented Oct 15, 2024

Copy link
Copy Markdown
Contributor

Rollup Plugin Name: {pluginutils,node-resolve}

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:

Description

It seems that includes are much more efficient than test. jsbenchmark

@shellscape shellscape changed the title refactor: replace test with includes refactor(pluginutils,node-resolve): replace test with includes Oct 16, 2024
@shellscape

Copy link
Copy Markdown
Collaborator

Thanks for the PR. Looks like these changed cause a lot of test failures.

@btea

btea commented Oct 16, 2024

Copy link
Copy Markdown
Contributor Author

Thanks for the review, I will check it out.

@shellscape
shellscape merged commit 4cfc1c3 into rollup:master Dec 15, 2024
@btea
btea deleted the refactor/use-replace-test-with-includes branch December 16, 2024 00:14
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