Skip to content

defaultmode and "type="module"". How to? #14

@frederikhors

Description

@frederikhors

Maybe this is broken:

defaultmode: Optional. specify a value to use in the script type attribute. If no mode is specified, the type attribute is omitted. Externals can optionally override this per file.

I cannot make it work. How to?

What I need is for esm bundles:

<script type="module" src="/index.js"></script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions