Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

dynamic import support #990

Closed
Closed
@NickIliev

Description

@NickIliev

@Serge-SDL commented on Tue Jul 16 2019

Hi,

I need to use some dynamic import in my app (importing js module from http or local device file), but it doesn't work.

I tried :
import(/* webpackIgnore: true */ file.path) -> got the error "Not supported"

and
System.import(file.path) -> got the error "Cannot find module '/path/to/file'" even if the file exists.

Is this situation expected? Is there an other way?
thanks for your help!

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