Skip to content

Plugin ESM support #1882

@1Code-JS

Description

@1Code-JS

Check for existing issues

  • Completed

Describe the feature

  • Find workarounds to correct Content-Type to text/javascript
  • Open a pull request

To allow plugins (with "type": "module"* in their plugin.json) to be ran as ESM without any transpilation steps. Currently, they are being loaded as a classic synchronous script (in a <script> element without type="module"), as seen in src/lib/loadPlugin.js.

*May be subject to change

If applicable, add mockups / screenshots to help present your vision of the feature

Image Image (Code shown may be subject to change)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions