File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
packages/mercury-build/src/build Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 2424 "build.mer.common" : " cd packages/mercury && bun build.scss.test-common" ,
2525 "build.un" : " cd packages/unanimo && bun run build" ,
2626 "build.un.watch" : " cd packages/unanimo && bun run build" ,
27- "start" : " bun dev.mercury && bun dev.mercury-build && bun dev.common && cd packages/showcase"
27+ "start" : " bun dev.mercury && bun dev.mercury-build && bun dev.common && cd packages/showcase && bun start "
2828 },
2929 "workspaces" : [
3030 " packages/*" ,
5151 "vitest" : " ~3.2.4"
5252 }
5353}
54+
Original file line number Diff line number Diff line change 1+ import { DEFAULT_OUTPUT_FOLDERS_IN_FINAL_APPLICATION } from "../constants/default-folders-in-final-application.js" ;
12import { TEMPORAL_BUILD_FOLDERS } from "../constants/temporal-build-folder.js" ;
23import { ensureDirectoryExistsAndItsClear } from "../file-management/ensure-directory-exists-and-its-clear.js" ;
34import { measureTime } from "../other/measure-time.js" ;
@@ -17,7 +18,18 @@ export const buildMercuryForUsage = (
1718
1819 await Promise . all ( [
1920 // Copy the fonts and icons to the node_modules/.genexus/mercury/assets/.. folder
20- copyFontsAndIconsForUsage ( TEMPORAL_BUILD_FOLDERS . OUT_DIR , buildOptions ) ,
21+ copyFontsAndIconsForUsage (
22+ TEMPORAL_BUILD_FOLDERS . OUT_DIR ,
23+
24+ // TODO: Revisit this way of passing options
25+ // We must use the default output folders here, because these files
26+ // must be copied to the standard location node_modules/.genexus/mercury/assets/...
27+ {
28+ fontsPath : DEFAULT_OUTPUT_FOLDERS_IN_FINAL_APPLICATION . FONTS ,
29+ iconsPath : DEFAULT_OUTPUT_FOLDERS_IN_FINAL_APPLICATION . ICONS ,
30+ globant : buildOptions . globant
31+ }
32+ ) ,
2133 createBundlesWithCustomPaths ( buildOptions , { silentLog } )
2234 ] ) ;
2335 } ) ;
You can’t perform that action at this time.
0 commit comments