Browse Source

build script: simplify client-watch task

pull/26/head
Starbeamrainbowlabs 4 years ago
parent
commit
b5c4d7d2fc
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 6
      build

6
build

@ -137,11 +137,7 @@ function task_dev-server-stop { @@ -137,11 +137,7 @@ function task_dev-server-stop {
function task_client {
task_begin "Packaging Javascript";
node_modules/rollup/bin/rollup --sourcemap --config rollup.config.js;
exit_code=$?;
task_end ${exit_code};
if [[ "${exit_code}" -ne 0 ]]; then
exit ${exit_code};
fi
task_end $? "Error: rollup packing failed!";
task_begin "Copying html";
cp client_src/index.html "${build_output_folder}";

Loading…
Cancel
Save