tanansatpal / ngx-mat-intl-tel-input

MIT License
62 stars 112 forks source link

Warning: deep import #51

Open GeorgeKnap opened 4 years ago

GeorgeKnap commented 4 years ago

https://github.com/tanansatpal/ngx-mat-intl-tel-input/blob/ea358b5d3c6e8c42356e838c77a68715293d577b/projects/ngx-mat-intl-tel-input/src/lib/ngx-mat-intl-tel-input.component.ts#L26

This line appears to cause ng serve warning in latest version: Warning: Entry point 'ngx-mat-intl-tel-input' contains deep imports into 'c:/development/sds-nx/node_modules/libphonenumber-js/types'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

VenimirPetkov commented 4 years ago

Same here

Art2058 commented 4 years ago

Same issue

Charles-Chiakwa commented 4 years ago

To disable this error add a file 'ngcc.config.js' and add the following config:


module.exports = {  
  packages: {
    "angular2-text-mask": {
      ignorableDeepImportMatchers: [/text-mask-core\//],
    },
  },
};```
Kichrum commented 4 years ago

Fixed in 3.2.2.