Skip to content

Support dynamic import modules from CDN #24550

@qlqllu

Description

@qlqllu

ES dynamic import support import a module from CDN like this:

import('https://abc.com/a.js')

However, TS will report this line as an error: can't find the module.

Is there a plan to support this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions