Skip to content

Project cannot be built #11

@Artur-

Description

@Artur-

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions