Skip to content

Vite bundler: async-script-loader doesn't appear to be written in CJS...Β #10

@svenjacobs

Description

@svenjacobs

Using your library in a SvelteKit project with Vite, I get the following warning:

@beyonk/async-script-loader doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.

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