Skip to content

Commit

Permalink
HPCC-30673 ECL Watch v9 serve FluentUI icon fonts locally
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Clements <[email protected]>
  • Loading branch information
jeclrsg committed Nov 16, 2023
1 parent a743128 commit 524fe8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion esp/src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
"copy-res-dojox": "copyfiles -u 5 \"./node_modules/dojox/widget/ColorPicker/images/**/*.{png,jpg,gif}\" ./build/eclwatch/img/",
"copy-res-TopoJSON": "copyfiles -u 4 \"./node_modules/@hpcc-js/map/TopoJSON/**/*\" ./build/dist/TopoJSON/",
"copy-res-font-awesome": "copyfiles -u 2 \"./node_modules/font-awesome/**/*\" ./build/dist/font-awesome/",
"copy-res-fluentui-fonts": "copyfiles -f \"./node_modules/@fluentui/font-icons-mdl2/fonts/*\" ./build/dist/fluentui-fonts/",
"copy-res-html": "copyfiles \"./*.{htm,html}\" ./build/",
"copy-res": "run-p copy-res-es6-promise copy-res-eclwatch-img copy-res-eclwatch-ecl copy-res-dojo-img copy-res-dojo copy-res-dojox copy-res-TopoJSON copy-res-font-awesome copy-res-html",
"copy-res": "run-p copy-res-es6-promise copy-res-eclwatch-img copy-res-eclwatch-ecl copy-res-dojo-img copy-res-dojo copy-res-dojox copy-res-TopoJSON copy-res-font-awesome copy-res-fluentui-fonts copy-res-html",
"compile": "tsc",
"compile-watch": "npm run compile -- -w",
"bundle": "node node_modules/webpack/bin/webpack.js --env production --config webpack.config.js",
Expand Down
2 changes: 1 addition & 1 deletion esp/src/src-react/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import "css!hpcc/css/hpcc.css";
import "src-react-css/index.css";

ECLWatchLogger.init();
initializeIcons();
initializeIcons("./build/dist/fluentui-fonts/");

const logger = scopedLogger("../index.tsx");

Expand Down

0 comments on commit 524fe8c

Please sign in to comment.