开发者

Getting Angular to build with ESBuild

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜