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 @@ -582,6 +582,8 @@ export default Task.extend({
582582
583583 // Update all loaders from webpack, plus postcss plugins.
584584 [
585+ '@angular-devkit/core' ,
586+ '@ngtools/webpack' ,
585587 'webpack' ,
586588 'autoprefixer' ,
587589 '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