11import { buildSrcFile } from "./build-src.ts" ;
2- import { buildComponent } from "./build-component.ts" ;
3- import { build } from "https://deno.land/x/[email protected] /mod.d.ts" ; 2+ import { buildComponent , copyFilesToFolder } from "./build-component.ts" ;
43
54async function cleaerDistFolder ( ) {
65 const hasDistFolder = await Deno . stat ( "dist" ) . catch ( ( ) => null ) ;
@@ -16,11 +15,18 @@ async function cleaerDistFolder() {
1615await cleaerDistFolder ( ) ;
1716
1817// Components
18+
19+ await buildComponent ( "material-icon" ) ;
20+ await copyFilesToFolder ( "components/material-icon/icons" , "dist/components/material-icon/icons" ) ;
21+
1922await buildComponent ( "activity-state" ) ;
2023await buildComponent ( "app-header" ) ;
2124await buildComponent ( "dynamic-rows" ) ;
2225await buildComponent ( "dynamic-columns" ) ;
23- await buildComponent ( "material-icon" , "" , [ "icons" ] ) ;
26+
27+ await buildComponent ( "material-icon" ) ;
28+ await copyFilesToFolder ( "components/material-icon/icons" , "dist/components/material-icon/icons" ) ;
29+
2430await buildComponent ( "divider-item" , "menu" ) ;
2531await buildComponent ( "menu-container" , "menu" ) ;
2632await buildComponent ( "menu-group" , "menu" ) ;
@@ -29,7 +35,7 @@ await buildComponent("menu-label", "menu");
2935await buildComponent ( "toast-notification" ) ;
3036await buildComponent ( "tool-bar" ) ;
3137await buildComponent ( "tree-view" ) ;
32- // await buildComponent("ollama-ui");
38+ await buildComponent ( "ollama-ui" ) ;
3339
3440// Modules
3541await buildSrcFile ( "modules/canvas.js" ) ;
0 commit comments