File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
packages/@angular/cli/tasks Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -594,6 +594,8 @@ export default Task.extend({
594594
595595 // Update all loaders from webpack, plus postcss plugins.
596596 [
597+ '@angular-devkit/core' ,
598+ '@ngtools/webpack' ,
597599 'webpack' ,
598600 'autoprefixer' ,
599601 'css-loader' ,
Original file line number Diff line number Diff line change @@ -178,8 +178,8 @@ export function ng(...args: string[]) {
178178 . then ( ( ) => {
179179 if ( ! npmInstalledEject ) {
180180 npmInstalledEject = true ;
181- // We need to run npm install on the first eject.
182- return silentNpm ( 'install' ) ;
181+ // We need to delete node_modules, then run npm install on the first eject.
182+ return rimraf ( 'node_modules' ) . then ( ( ) => silentNpm ( 'install' ) ) ;
183183 }
184184 } )
185185 . then ( ( ) => rimraf ( 'dist' ) )
You can’t perform that action at this time.
0 commit comments