Running yarn build results in
src/plugin.ts:138:14 - error TS2551: Property 'resolveBuiltUrl' does not exist on type 'Plugin'. Did you mean 'resolveFileUrl'?
138 this.resolveBuiltUrl = url => {
~~~~~~~~~~~~~~~
src/plugin.ts:138:32 - error TS7006: Parameter 'url' implicitly has an 'any' type.
138 this.resolveBuiltUrl = url => {
~~~
src/plugin.ts:168:55 - error TS2571: Object is of type 'unknown'.
168 debug(`Failed to transform "${id}". ` + err.message)
~~~
The Object is of type 'unknown' is related to TypeScript 4.4 and easy to fix but what is resolveBuiltUrl supposed to do? It looks like dead code
Running
yarn buildresults inThe
Object is of type 'unknown'is related to TypeScript 4.4 and easy to fix but what isresolveBuiltUrlsupposed to do? It looks like dead code