开发者

Getting Angular to build with ESBuild

开发者 https://www.devze.com 2022-12-07 22:29 出处:网络
I\'m running Angular 15.0.2 and have updated the angular.json to build with ESBuild. "serve": {

I'm running Angular 15.0.2 and have updated the angular.json to build with ESBuild.

"serve": {
  "builder": "@angular-devkit/build-angular:browser-esbuild",

Then when trying to serve the app:

WARNING: The experimental esbuild-based builder is not currently supported by the dev-server. The stable Webpack-based builder will 开发者_高级运维be used instead.

How do I get ESbuild going in an Angular app?


As mentioned in the doc:

In Angular v15 esbuild support only

 ng build and ng build --watch
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号