diff --git a/esp/src/package.json b/esp/src/package.json index d047230797e..e15b6da9022 100644 --- a/esp/src/package.json +++ b/esp/src/package.json @@ -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", diff --git a/esp/src/src-react/index.tsx b/esp/src/src-react/index.tsx index b3049252cf4..ce2d799c488 100644 --- a/esp/src/src-react/index.tsx +++ b/esp/src/src-react/index.tsx @@ -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");