Skip to content

Support for ignoring lazy (not weak) async imports #67

Description

@jtbandes

The note on allowAsyncCycles gives an example of using it for weak imports:

      // allow import cycles that include an asyncronous import,
      // e.g. via import(/* webpackMode: "weak" */ './file.js')
      allowAsyncCycles: false,

But it would be nice if this also worked for regular async imports that aren't marked with webpackMode: "weak". It sounds like the default mode for async imports is lazy. https://webpack.js.org/api/module-methods/#magic-comments

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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