fix(ngcc): add default config for `ng2-dragula` (#33797)
The `dist/` directory has a duplicate `package.json` pointing to the same files, which (under certain configurations) can causes ngcc to try to process the files twice and fail. This commit adds a default ngcc config for `ng2-dragula` to ignore the `dist/` entry-point. Fixes #33718 PR Close #33797
This commit is contained in:
parent
6888cb3d7a
commit
95715fc71e
|
@ -87,12 +87,19 @@ export const DEFAULT_NGCC_CONFIG: NgccProjectConfig = {
|
||||||
// Add default package configuration here. For example:
|
// Add default package configuration here. For example:
|
||||||
// '@angular/fire@^5.2.0': {
|
// '@angular/fire@^5.2.0': {
|
||||||
// entryPoints: {
|
// entryPoints: {
|
||||||
// './database-deprecated': {
|
// './database-deprecated': {ignore: true},
|
||||||
// ignore: true,
|
|
||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
// },
|
|
||||||
}
|
// The `dist/` directory has a duplicate `package.json` pointing to the same files, which (under
|
||||||
|
// certain configurations) can causes ngcc to try to process the files twice and fail.
|
||||||
|
// Ignore the `dist/` entry-point.
|
||||||
|
'ng2-dragula': {
|
||||||
|
entryPoints: {
|
||||||
|
'./dist': {ignore: true},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
interface VersionedPackageConfig extends NgccPackageConfig {
|
interface VersionedPackageConfig extends NgccPackageConfig {
|
||||||
|
|
Loading…
Reference in New Issue