0

Angular 13 は UMD-Bundles を生成しなくなったため

コマンド

ng g ngx-build-plus:externals --project MY_PROJECT

現在、無効な angular.json を作成しています (存在しない UMD バンドルを指しています)。

angular.json で参照されるumdバンドルは次のとおりです。

"scripts": [
              "node_modules/rxjs/bundles/rxjs.umd.js",
              "node_modules/@angular/core/bundles/core.umd.js",
              "node_modules/@angular/common/bundles/common.umd.js",
              "node_modules/@angular/common/bundles/common-http.umd.js",
              "node_modules/@angular/compiler/bundles/compiler.umd.js",
              "node_modules/@angular/elements/bundles/elements.umd.js",
              "node_modules/@angular/platform-browser/bundles/platform-browser.umd.js",
              "node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js"
            ]

上記のファイルの代替ファイルは何ですか? この問題を解決する他の方法はありますか?

4

0 に答える 0