Skip to content

Commit f84890c

Browse files
committed
fix: remove ngcc usage
1 parent 19d66bd commit f84890c

File tree

1 file changed

+0
-12
lines changed
  • packages/nx/src/generators/application/files_angular/tools

1 file changed

+0
-12
lines changed

packages/nx/src/generators/application/files_angular/tools/postinstall.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,3 @@ try {
1313
} catch (err) {
1414
// ignore
1515
}
16-
17-
// Helpful to trigger ngcc after an install to ensure all has processed properly
18-
const relativePath = '<%= pathOffset %>'.split('/').filter(p => !!p);
19-
const ngccPath = path.join(...relativePath, 'node_modules', '.bin', 'ngcc');
20-
const child = childProcess.spawn(ngccPath, ['--tsconfig', 'tsconfig.app.json', '--properties', 'es2015', 'module', 'main', '--first-only'], {
21-
cwd: process.cwd(),
22-
stdio: 'inherit',
23-
shell: process.platform == 'win32'
24-
});
25-
child.on('close', (code) => {
26-
27-
});

0 commit comments

Comments
 (0)