-
Notifications
You must be signed in to change notification settings - Fork 12k
dedupe-duplicate-modules turn on/off option request #17967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @eun-choi, The You can get which modules are being deduped by adding the following two options This seems like a bug but we'll need to look at a reproduction to find and fix the problem. Can you setup a minimal repro please? To continue looking at this we'd require a minimal reproduction. A good way to make a minimal repro is to create a new app via This might be related to your directory structure so its really important to get an accurate repro to diagnose this. |
Currently, I had installed @angular-devkit/build-angular@0.1000.0-rc.5 version. node_modules > @Angular-devkit > build-angular > src > angular-cli-files > models > webpack-configs > common.js in line 382
First, I'll try to find if it can be solved by any method other than comment out. |
@eun-choi, unfortunately without a reproduction we'll be unable to look and solve the issue. |
[minimal reproduction code] [environment]
[System]
|
The problem seems to be caused because We should handle such cases and don't dedupe a module when we don't have a name or version in the manifest. |
…me or version We should not try to dedupe secondary entrypoints, or modules which don't have a name and a version. Closes #17967
…me or version We should not try to dedupe secondary entrypoints, or modules which don't have a name and a version. Closes #17967
…me or version We should not try to dedupe secondary entrypoints, or modules which don't have a name and a version. Closes angular#17967
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🚀 Feature request
I would like to the option to turn on/off the 'dedupe-duplicate-modules' function at build time.
Because, I'm using both the DateAdapter module of '@angular/material/core' and the DateAdapter module of 'angular-calendar'.
Therefore, either of them will not work after build that due to the 'dedupe-duplicate-modules' function.
Sample code
a.module.ts
a.component.ts
b.module.ts
b.component.ts
It works fine until @angular-devkit/build-angular@0.1000.0-next.6
But, An error occurs from @angular-devkit/build-angular@0.1000.0-rc.0 or later.
error log
Therefore, it seems to be affected by the 'dedupe-duplicate-modules' function.
The text was updated successfully, but these errors were encountered: