Today I used patch-package to patch urlpattern-polyfill@1.0.0-rc1 for the project I'm working on.
I found the TypeScript types for the project were not provided through the package.json file, even though the source is originally TypeScript, and that Node.js's native exports field was not added
Today I used patch-package to patch
urlpattern-polyfill@1.0.0-rc1
for the project I'm working on.I found the TypeScript types for the project were not provided through the
package.json
file, even though the source is originally TypeScript, and that Node.js's nativeexports
field was not addedHere is the diff that solved my problem:
This issue body was partially generated by patch-package.