plugins icon indicating copy to clipboard operation
plugins copied to clipboard

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

Open btea opened this issue 1 year ago • 2 comments

Rollup Plugin Name: {pluginutils,node-resolve}

This PR contains:

  • [ ] bugfix
  • [ ] feature
  • [x] 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

btea avatar Oct 15 '24 14:10 btea