Skip to content

Commit 4c5b47d

Browse files
fix: add copy-res-dist-nightly to copy static assets from build/dist to build/dist-nightly
Agent-Logs-Url: https://github.com/risk-hsy/HPCC-Platform/sessions/d7d9a1ec-6934-4573-afef-5c6da63661b0 Co-authored-by: SmithG3_risk <227189191+SmithG3_risk@users.noreply.github.com>
1 parent 396586b commit 4c5b47d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

esp/src/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@
1818
"copy-res-font-awesome": "copyfiles -u 2 \"./node_modules/font-awesome/**/*\" ./build/dist/font-awesome/",
1919
"copy-res-fluentui-fonts": "copyfiles -f \"./node_modules/@fluentui/font-icons-mdl2/fonts/*\" ./build/dist/fluentui-fonts/",
2020
"copy-res-html": "copyfiles \"./*.{htm,html}\" ./build/",
21+
"copy-res-dist-nightly": "copyfiles -u 2 \"./build/dist/**/*\" ./build/dist-nightly/",
2122
"copy-res": "run-p copy-res-eclwatch-img copy-res-eclwatch-ecl copy-res-dgrid-shim copy-res-dojo-img copy-res-dojo copy-res-dojox copy-res-dgrid-css copy-res-TopoJSON copy-res-font-awesome copy-res-fluentui-fonts copy-res-html",
2223
"compile": "tsc",
2324
"compile-watch": "npm run compile -- -w",
2425
"bundle": "node node_modules/webpack/bin/webpack.js --env production --config webpack.config.js",
2526
"bundle-dev": "node node_modules/webpack/bin/webpack.js --env development --config webpack.config.js",
2627
"bundle-watch": "npm run bundle-dev -- --watch",
2728
"build": "npm-run-all --parallel copy-res compile --serial bundle",
28-
"build-nightly": "cross-env ECLWATCH_DIST_URL=/esp/files/dist-nightly/ npm-run-all --parallel copy-res compile --serial bundle",
29+
"build-nightly": "cross-env ECLWATCH_DIST_URL=/esp/files/dist-nightly/ npm-run-all --parallel copy-res compile --serial bundle copy-res-dist-nightly",
2930
"build-dev": "npm-run-all --parallel copy-res compile --serial bundle-dev",
3031
"dev-start-ws": "ws",
3132
"dev-start": "run-p bundle-watch dev-start-ws",

0 commit comments

Comments
 (0)