Skip to content

Angular 11 warning: CommonJS or AMD dependencies can cause optimization bailouts #343

Description

@nam-vuhoang

I got this warning message from Angular after installing ng2-tree:

...src\app\app.module.ts depends on 'ng2-tree'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Is it possible to make ng2-tree an ECMAScript module instead of CommonJS module?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions