Skip to content

moment-range uses CommonJS modules, which throws a warning when using Angular 10 #281

@mikyladewitt

Description

@mikyladewitt

Updating to Angular 10 and get warning "CommonJS or AMD dependencies can cause optimization bailouts".

Request to have an ESModule compile of this package to avoid the issue in Angular applications and allow better optimization of app with moment-range.

Here's some extra info: https://angular.io/guide/build#configuring-commonjs-dependencies

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