Skip to content

v8 Migration adds browserlist for non-angular apps #14389

Closed
@FrozenPandaz

Description

@FrozenPandaz

🐞 Bug report

Scope

v8 Browerlist migration

Is this a regression?

No, this is an enhancement to current behavior

Description

Currently, the v8 migration produces a browserlist file for every application. This should be filtered to applications which use @angular-devkit/build-angular:browser.

🔬 Minimal Reproduction

npx -p @nrwl/schematics@latest create-nx-workspace fullstack-ws --preset full-stack --no-interactive
cd fullstack-ws
ng update @angular/cli @angular/core --next --force

## 🔥 Issue

`apps/api/browserslist` is created which is a backend project which does not need Differential Loading.

## Expected Behavior

`browserlist` should only be created for projects which use `@angular-devkit/build-angular:browser` for at least one of their targets.

cc @filipesilva

## 🌍 Your Environment
Fullstack workspace

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions