ng build run twice ? (angular 8.1.1)
See original GitHub issueπ bug report
Affected Package
The issue is caused by package @angular/....Ng Build run twice ? is it normal ?
Is this a regression?
Yes, the previous version in which this bug was not present was: ....just upgraded to v 8. v7 just compiled and build once.
Description
A clear and concise description of the problem...I just make a build.bat and run it. build.bat contains ng b --prod --output-path β¦/crsappbuild/dest --base-href /
π¬ Minimal Reproduction
https://stackblitz.com/...π₯ Exception or Error
π Your Environment
Angular Version:
Angular CLI: 8.1.1
Node: 10.13.0
OS: win32 x64
Angular: 8.1.0
... common, compiler, core, forms, language-service
... platform-browser, platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.801.1
@angular-devkit/build-angular 0.801.1
@angular-devkit/build-optimizer 0.801.1
@angular-devkit/build-webpack 0.801.1
@angular-devkit/core 8.1.1
@angular-devkit/schematics 8.1.1
@angular/animations 8.1.1
@angular/cdk 7.3.7
@angular/cli 8.1.1
@angular/compiler-cli 8.1.1
@angular/material 7.3.7
@ngtools/webpack 8.1.1
@schematics/angular 8.1.1
@schematics/update 0.801.1
rxjs 6.5.2
typescript 3.4.5
webpack 4.35.2
Anything else relevant?
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Angular 8, ng build compile twice and duplicate files
The two seperate builds you are seeing are for different browser targets - the browser the user uses determines what files angular will...
Read more >Angular 8, Ng Build Compile Twice And Duplicate ... - ADocLib
On the first terminal run the ng build command in watch mode to compile the To deploy your Angular application to GitHub Pages...
Read more >angular/angular - Gitter
@rickvandermey no, I just typed ng build myprojectname ... You must install peer dependencies yourself. npm WARN codelyzer@4.2.1 requires a peer ofΒ ...
Read more >ng build - Angular
Option Description Value Type Default Value
ββaot Build using Ahead of Time compilation. boolean true
ββbaseβhref Base url for the application being built. string
ββdeleteβoutputβpath Delete...
Read more >@angular/material | Yarn - Package Manager
The Angular team builds and maintains both common UI components and tools to help you build your own custom components. The team maintains...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is a feature called differential loading. Now we generate 2 bundles for es5 and es2015 respectively to serve smalled bundles on new browsers.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.