Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(@angular-devkit/build-angular): change several builder options defaults #20169

Closed
wants to merge 4 commits into from
Closed

fix(@angular-devkit/build-angular): change several builder options defaults #20169

wants to merge 4 commits into from

Conversation

alan-agius4
Copy link
Collaborator

@alan-agius4 alan-agius4 commented Mar 1, 2021

BFREAKING CHANGE:

A number of browser and server builder option defaults, with the aim to reduce the configuration complexity with the new production builds by default initiative.

Browser builder

Option Previous default value New default value
optimization false true
aot false true
buildOptimizer false true
sourceMap true false
extractLicenses false true
namedChunks true false
vendorChunk true false

Server builder

Option Previous default value New default value
optimization false true
sourceMap true false

…efaults

BFREAKING CHANGE:

A number of browser and server builder option defaults, with the aim to reduce the configuration complexity with the new production builds by default initiative.

**Browser builder**
| Option                                 | Previous default value    | New default value |
|----------------------------------------|---------------------------|-------------------|
| optimization                           | false                     | true              |
| aot                                    | false                     | true              |
| buildOptimizer                         | false                     | true              |
| sourceMap                              | true                      | false             |
| extractLicenses                        | false                     | true              |
| namedChunks                            | true                      | false             |
| vendorChunk                            | true                      | false             |
| outputHashing                          | none                      | all               |

**Server builder**
| Option        | Previous default value | New default value |
|---------------|------------------------|-------------------|
| optimization  | false                  | true              |
| sourceMap     | true                   | false             |
| outputHashing | none                   | media             |
@alan-agius4 alan-agius4 closed this Apr 6, 2021
@alan-agius4 alan-agius4 deleted the builder-defaults branch April 16, 2021 19:41
@alan-agius4 alan-agius4 restored the builder-defaults branch April 20, 2021 08:49
@alan-agius4 alan-agius4 changed the title feat(@angular-devkit/build-angular): change several builder options defaults fix(@angular-devkit/build-angular): change several builder options defaults Apr 20, 2021
@alan-agius4 alan-agius4 deleted the builder-defaults branch April 20, 2021 09:43
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators May 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant