File tree 2 files changed +3
-3
lines changed
packages/angular_devkit/build_angular/src
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -236,8 +236,8 @@ export function buildWebpackBrowser(
236
236
const [ firstBuild , secondBuild ] = buildEvents ;
237
237
238
238
if ( buildEvents . length === 2 ) {
239
- noModuleFiles = firstBuild . emittedFiles ;
240
- moduleFiles = secondBuild . emittedFiles || [ ] ;
239
+ moduleFiles = firstBuild . emittedFiles || [ ] ;
240
+ noModuleFiles = secondBuild . emittedFiles ;
241
241
files = moduleFiles . filter ( x => x . extension === '.css' ) ;
242
242
} else if ( options . watch && isDifferentialLoadingNeeded ) {
243
243
// differential loading is not enabled in watch mode
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ export async function generateWebpackConfig(
62
62
const scriptTargets = [ scriptTarget ] ;
63
63
64
64
if ( differentialLoading ) {
65
- scriptTargets . unshift ( ts . ScriptTarget . ES5 ) ;
65
+ scriptTargets . push ( ts . ScriptTarget . ES5 ) ;
66
66
}
67
67
68
68
// For differential loading, we can have several targets
You can’t perform that action at this time.
0 commit comments