refactor: use reference type directive in dts#20517
Conversation
|
|
This PR is packaged and the instant preview is available (c8ebcd8). Install it locally:
npm i -D webpack@https://pkg.pr.new/webpack@c8ebcd8
yarn add -D webpack@https://pkg.pr.new/webpack@c8ebcd8
pnpm add -D webpack@https://pkg.pr.new/webpack@c8ebcd8 |
Merging this PR will degrade performance by 63.59%
Performance Changes
Comparing |
Summary
What kind of change does this PR introduce?
Minor refactor to avoid relying on the node_modules file path. More detail in https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html#-reference-types- .
Did you add tests for your changes?
No
Does this PR introduce a breaking change?
No
If relevant, what needs to be documented once your changes are merged or what have you already documented?
No