Ng build with npx-build-plus

I am using angular shell application and react is remote application both application is running good. but when I am going to use ng build it's showing this error and taking too much time. `ng build ⠦ Generating browser application bundles (phase: setup)...An unhandled exception occurred: Invalid options object. Module Federation Plugin has been initialized using an options object that does not match the API schema. options has an unknown property 'module'. These properties are valid: object { exposes?, filename?, library?, name?, remoteType?, remotes?, runtime?, shareScope?, shared? } See "C:\Users\AKASHG~1\AppData\Local\Temp\ng-lUb4cb\angular-errors.log" for further details. ⠙ Generating browser application bundles (phase: setup)...` "build": { "builder": "ngx-build-plus:browser", "options": { "extraWebpackConfig": "projects/host-app/src/webpack.config.js", "commonChunk": false, "outputPath": "dist/host-app", "index": "projects/host-app/src/index.html", "main": "projects/host-app/src/main.ts", "polyfills": [ "zone.js" ], "tsConfig": "projects/host-app/tsconfig.app.json", "inlineStyleLanguage": "scss", "assets": [ "projects/host-app/src/favicon.ico", "projects/host-app/src/assets", "projects/host-app/src/assets", "projects/host-app/src/sass", "projects/host-app/src/manifest.json" ], "styles": [ "node_modules/bootstrap/dist/css/bootstrap.min.css", "node_modules/bootstrap/dist/css/bootstrap.css", "./node_modules/primeicons/primeicons.css", "./node_modules/primeng/resources/themes/saga-blue/theme.css", "./node_modules/primeng/resources/primeng.min.css", "./node_modules/quill/dist/quill.core.css", "./node_modules/quill/dist/quill.snow.css", "./node_modules/ngx-toastr/toastr.css", "projects/host-app/src/sass/styles.scss" ], "scripts": [ "./node_modules/jquery/dist/jquery.min.js", "./node_modules/bootstrap/dist/js/bootstrap.bundle.min.js", "./node_modules/quill/dist/quill.js", "./node_modules/mammoth/mammoth.browser.min.js", "node_modules/@lottiefiles/lottie-player/dist/lottie-player.js" ], "optimization": false, "sourceMap": false, "namedChunks": false, "aot": true, "extractLicenses": true, "vendorChunk": false, "buildOptimizer": false },

Apr 11, 2025 - 12:12
 0
Ng build with npx-build-plus

I am using angular shell application and react is remote application

both application is running good. but when I am going to use ng build it's showing this error and taking too much time.
`ng build
⠦ Generating browser application bundles (phase: setup)...An unhandled exception occurred: Invalid options object. Module Federation Plugin has been initialized using an options object that does not match the API schema.

  • options has an unknown property 'module'. These properties are valid: object { exposes?, filename?, library?, name?, remoteType?, remotes?, runtime?, shareScope?, shared? } See "C:\Users\AKASHG~1\AppData\Local\Temp\ng-lUb4cb\angular-errors.log" for further details. ⠙ Generating browser application bundles (phase: setup)...`

"build": {
"builder": "ngx-build-plus:browser",
"options": {
"extraWebpackConfig": "projects/host-app/src/webpack.config.js",
"commonChunk": false,
"outputPath": "dist/host-app",
"index": "projects/host-app/src/index.html",
"main": "projects/host-app/src/main.ts",
"polyfills": [
"zone.js"
],
"tsConfig": "projects/host-app/tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"projects/host-app/src/favicon.ico",
"projects/host-app/src/assets",
"projects/host-app/src/assets",
"projects/host-app/src/sass",
"projects/host-app/src/manifest.json"
],
"styles": [
"node_modules/bootstrap/dist/css/bootstrap.min.css",
"node_modules/bootstrap/dist/css/bootstrap.css",
"./node_modules/primeicons/primeicons.css",
"./node_modules/primeng/resources/themes/saga-blue/theme.css",
"./node_modules/primeng/resources/primeng.min.css",
"./node_modules/quill/dist/quill.core.css",
"./node_modules/quill/dist/quill.snow.css",
"./node_modules/ngx-toastr/toastr.css",
"projects/host-app/src/sass/styles.scss"
],
"scripts": [
"./node_modules/jquery/dist/jquery.min.js",
"./node_modules/bootstrap/dist/js/bootstrap.bundle.min.js",
"./node_modules/quill/dist/quill.js",
"./node_modules/mammoth/mammoth.browser.min.js",
"node_modules/@lottiefiles/lottie-player/dist/lottie-player.js"
],
"optimization": false,
"sourceMap": false,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": false
},