Skip to content

Support dynamic import using stable syntax #14

@RReverser

Description

@RReverser

import for dynamic imports is currently not stable, and so many codebases still use the old one for code splitting, namely AMD-style require:

require(['static-dep-A', 'static-dep-B'], function (staticDepA, staticDepB) {
...
});

Currently all these cases cause webpack-common-shake to bail out even though they're likely optimizable in the same way.

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