Cuando descomento las siguientes líneas en mi webpack.config.js
name: "mfe2", filename: "remoteEntry.js", // 2-3K w/ Meta Data exposes: { './Module': './projects/mfe2/src/app/mfe2/mfe2.module.ts', },Estoy teniendo el siguiente error :
PS D:\Projects\apicurio-microfrontend\projects\mfe2> ng s mfe2 -o Your global Angular CLI version (13.3.2) is greater than your local version (13.1.2). The local Angular CLI version is used. To disable this warning use "ng config -g cli.warnings.versionMismatch false". ✔ Browser application bundle generation complete. Initial Chunk Files | Names | Raw Size polyfills.js | polyfills | 364.46 kB | styles.css, styles.js | styles | 238.24 kB | remoteEntry.js | mfe1 | 238.14 kB | vendor.js | vendor | 210.97 kB | main.js | main | 28.12 kB | | Initial Total | 1.05 MB Lazy Chunk Files | Names | Raw Size node_modules_angular_core_fesm2020_core_mjs.js | - | 1.14 MB | node_modules_angular_router_fesm2020_router_mjs-_6f000.js | - | 362.85 kB | node_modules_angular_router_fesm2020_router_mjs-_6f001.js | - | 362.85 kB | node_modules_angular_common_fesm2020_common_mjs-_ec490.js | - | 229.45 kB | node_modules_angular_common_fesm2020_common_mjs-_ec491.js | - | 229.45 kB | projects_mfe2_src_bootstrap_ts.js | bootstrap | 93.62 kB | projects_mfe2_src_app_mfe2_mfe2_module_ts.js | - | 745 bytes | Build at: 2022-04-21T18:30:50.406Z - Hash: 1911086e10ef8b89 - Time: 2800ms ./projects/mfe2/src/app/mfe2/mfe2.module.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js): Error: D:\Projects\apicurio-microfrontend\projects\mfe2\src\app\mfe2\mfe2.module.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. at D:\Projects\apicurio-microfrontend\node_modules\@ngtools\webpack\src\ivy\loader.js:60:26 ** Angular Live Development Server is listening on localhost:9000, open your browser on http://localhost:9000/ **× Error al compilar.
Pero el proyecto funciona bien cuando uso el comentario de esas líneas. Por favor ayuda