From 178b95106496030dfaf39141a381c96294f917c7 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Sun, 9 Aug 2020 19:08:22 +0200 Subject: [PATCH] Updated the babel config a bit --- babel.config.ts | 4 ++-- scripts/build.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/babel.config.ts b/babel.config.ts index 15e4dde8..e6e6d3bc 100644 --- a/babel.config.ts +++ b/babel.config.ts @@ -1,4 +1,4 @@ -module.exports = function (api) { +export = api => { api.cache(false); const presets = [ [ @@ -24,4 +24,4 @@ module.exports = function (api) { presets, plugins }; -}; \ No newline at end of file +} \ No newline at end of file diff --git a/scripts/build.sh b/scripts/build.sh index 780b0a41..e004bab2 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -37,7 +37,7 @@ fi echo "Generating required project build files" npm run compile-project-base; _exit_code=$? if [[ $_exit_code -ne 0 ]]; then - echo "Failed to generate project build files" + echo "Failed to generate project build files ($_exit_code)" exit 1 fi