Skip to content

Warnings during build (UMD bundling step) #262

@hpawe01

Description

@hpawe01

When building the library with ng build, the following warning are logged:

Bundling to UMD
WARNING: No name was provided for external module 'date-fns' in output.globals – guessing 'dateFns'
WARNING: No name was provided for external module 'lodash' in output.globals – guessing 'lodash'
WARNING: No name was provided for external module 'lodash-es/find' in output.globals – guessing 'find'        
WARNING: No name was provided for external module 'lodash-es/includes' in output.globals – guessing 'includes'
WARNING: No name was provided for external module 'qs' in output.globals – guessing 'qs'

This can be fixed by adding the dependencies as umdModuleIds to the ng-package.json.

I will create a pull-request for this.

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