|
|
|
@ -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}"; |
|
|
|
|