Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Stop browserify from evaluating dynamic imports ( import() ) and crashing? #2075

@blaasvaer

Description

@blaasvaer

If I pass a path relative to what's build on the server Browserify will fail during build.

How can I prevent Browserify form evaluating dynamic import – and crash in the process without having to replicate the entire src folder structure on the live server?

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