Skip to content
This repository was archived by the owner on Nov 7, 2023. It is now read-only.
This repository was archived by the owner on Nov 7, 2023. It is now read-only.

ng build --prod gives warning: WARNING: 'OnInit' imported from external module '@angular/core' but never used #1

@trakhimenok

Description

@trakhimenok

Those imports are actually used.

>ng build --prod
Building Angular Package

------------------------------------------------------------------------------
Building entry point '@sneat/ngx-dnd-tree'
------------------------------------------------------------------------------
Compiling TypeScript sources through ngc
Bundling to FESM2015
WARNING: 'OnChanges', 'OnInit', 'SimpleChanges' and 'AfterContentInit' are imported from external module '@angular/core' but never used
WARNING: 'DragSource', 'DragSourceMonitor', 'DropTarget' and 'DropTargetMonitor' are imported from external module '@angular-skyhook/core' but never used
Bundling to FESM5
WARNING: 'OnChanges', 'OnInit', 'SimpleChanges' and 'AfterContentInit' are imported from external module '@angular/core' but never used
WARNING: 'DragSource', 'DragSourceMonitor', 'DropTarget' and 'DropTargetMonitor' are imported from external module '@angular-skyhook/core' but never used
Bundling to UMD
Minifying UMD bundle
Writing package metadata
Built @sneat/ngx-dnd-tree

------------------------------------------------------------------------------
Built Angular Package
 - from: \projects\sneat-team\ngx-dnd-tree\ngx-dnd-tree-lib
 - to:   \projects\sneat-team\ngx-dnd-tree\dist\ngx-dnd-tree-lib
------------------------------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions