Browse Source

feat: compile build dir before building editor

Baptiste Augrain 2 years ago
parent
commit
57507e0abf
1 changed files with 3 additions and 0 deletions
  1. 3 0
      build.sh

+ 3 - 0
build.sh

@@ -18,6 +18,9 @@ if [[ "${SHOULD_BUILD}" == "yes" ]]; then
 
   cd vscode || { echo "'vscode' dir not found"; exit 1; }
 
+  # compile the `build` directory
+  yarn --cwd build compile
+
   yarn monaco-compile-check
   yarn valid-layers-check