Closed oliveriosousa closed 9 months ago
This PR fixes the build command when used on HTML package on v10.1.1
build
HTML
After analyses, I noticed that after linking LBO's we still need to get the packages the LBOs depend on.
With this PR, it will install and build the LBO package as well before linking.
Run: cmf build on HTML package with v.10.1.1
cmf build
Executing 'ng build Cmf.Custom.HTML' - Generating browser application bundles (phase: setup)... √ Browser application bundle generation complete. √ Browser application bundle generation complete. ../Libs/LBOs/TypeScript/esm/cmf-lbos.mjs:1:0-28 - Error: Module not found: Error: Can't resolve 'moment' in 'C:\agentsWork\SRV-PI-BS01-11\9451\s\Libs\LBOs\TypeScript\esm' Error: ../Libs/LBOs/TypeScript/index.d.ts:1:20 - error TS2307: Cannot find module 'moment' or its corresponding type declarations. 1 import moment from "moment"; ~~~~~~~~ Error: Optimization error [main.6874f47118be7dc5.js]: X [ERROR] Invalid assignment target
Description
This PR fixes the
build
command when used onHTML
package on v10.1.1After analyses, I noticed that after linking LBO's we still need to get the packages the LBOs depend on.
With this PR, it will install and build the LBO package as well before linking.
Steps to reproduce
Run:
cmf build
onHTML
package with v.10.1.1