diff --git a/npm/ng-packs/package.json b/npm/ng-packs/package.json index 2802e8b8a3..33487c4b6b 100644 --- a/npm/ng-packs/package.json +++ b/npm/ng-packs/package.json @@ -29,8 +29,6 @@ "workspace-generator": "nx workspace-generator", "dep-graph": "nx dep-graph", "help": "nx help", - "compile:ivy": "yarn ngcc --properties es2020 browser module main --first-only --create-ivy-entry-points --tsconfig './tsconfig.prod.json' --source node_modules", - "postinstall2": "node ./decorate-angular-cli.js && yarn compile:ivy", "build:schematics": "cd scripts && yarn && yarn build:schematics && cd ..", "dev:schematics": "tsc -p packages/schematics/tsconfig.json -w", "mock:schematics": "cd scripts/mock-schematic && yarn && yarn start", diff --git a/npm/ng-packs/scripts/build.ts b/npm/ng-packs/scripts/build.ts index 0936622ad9..79b8d7c14f 100644 --- a/npm/ng-packs/scripts/build.ts +++ b/npm/ng-packs/scripts/build.ts @@ -4,7 +4,6 @@ import fse from 'fs-extra'; (async () => { program.option('-i, --noInstall', 'skip updating package.json and installation', false); - program.option('-c, --skipNgcc', 'skip ngcc', false); program.parse(process.argv); @@ -66,8 +65,6 @@ import fse from 'fs-extra'; ], { stdout: 'inherit', cwd: '../' }, ); - - if (!program.skipNgcc) await execa('yarn', ['compile:ivy'], { stdout: 'inherit', cwd: '../' }); } catch (error) { console.error(error.stderr); process.exit(1);