question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Steps to silence the Entry Point warning - Multiple EntryPoints

See original GitHub issue

Including a library raises WARNINGS re: entrypoints and using ngcc.config.js works for most but even with the regex to the rxjs imports it raises those warnings. Is there a limit to the number that it will find to suppress? i tried including multiple entries in ignorableDeepImportMatchers array. i don’t see in the code where that node is being referenced in the build code either in configuration or dependency_resolver.

I tried:

module.exports = {
  "packages": {
    
    '@progress/kendo-angular-buttons': {
       ignorableDeepImportMatchers: [
        /rxjs\/.*/
      ]
      
    }
  }
}

@stevethemacguy recommended this but it doesn’t always work. Steps to silence the warning:

  1. Update to Angular 9.0.4
  2. Create a file named ‘ngcc.config.js’ at your top-level project folder (see https://github.com/angular/angular/pull/35683)
module.exports = {
  packages: {
    'angular2-text-mask': {
      ignorableDeepImportMatchers: [
        /text-mask-core\//,
      ]
    },
  },
};
  1. Enjoy a peaceful build 😌

_Originally posted by @stevethemacguy in https://github.com/angular/angular/issues/35615#issuecomment-592253747_

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
petebacondarwincommented, Jun 4, 2020

Closing as we have no reproduction.

0reactions
angular-automatic-lock-bot[bot]commented, Jul 5, 2020

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

webpack, ignore size warning limit for a particular entrypoint
There are multiple entrypoints in the webpack configuration of one of my projects. At the moment there are two warnings about the size...
Read more >
Application entry points - IBM
An application entry point identifies a resource that is an access point to an application. Application entry points are used to control users'...
Read more >
Best Practices for Entry Points - Introduction to OverOps
While this helps remove them from entry point consideration, any errors/exceptions thrown by the blacklisted classes will not be captured by OverOps, which...
Read more >
Program has more then one entry point error! : r/csharp - Reddit
Open the .csproj file and look for 'StartupObject', see if that is defined and if it is make sure the value is '{NameSpace}.Program'...
Read more >
Bulk upload of Entry Points for Application Servic... - ServiceNow
Solved: Hi All, I would like to know, is there any process for adding entry points for application services in Service Mapping. Example:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found