Closed vzakharov-rxnt closed 2 years ago
I repeated the experiment using the following command:
npx @angular/cli@14.0.0-rc.0 new ng14
Just needs fewer steps to reproduce, but same outcome.
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.
π Bug report
Command (mark with an
x
)Is this a regression?
Unknown, feature is new in v14.
Description
Experimental
browser-esbuild
option gives build errors.π¬ Minimal Reproduction
ng new
, using CSS and routing. My global CLI version is v13.3.3.package.json
to14.0.0-rc.0
.npm install
.angular.json
to@angular-devkit/build-angular:browser-esbuild
."build": "ng build",
.π₯ Exception or Error
If CSS is part of the build (included in angular.json), getting this error:
If I exclude it from angular.json by deleting
getting another error:
π Your Environment
Anything else relevant?
My package.json: