From 4111073292848ce60921619c4b5f8f3166ac9a6b Mon Sep 17 00:00:00 2001 From: Christopher Allen Date: Fri, 18 Jun 2021 21:01:42 +0100 Subject: [PATCH] Write build output to built/ instead of repository root I have verified that npm run build && npm run package produces an identical dist/ directory compared to the one produced prior to this and the previous commit. --- .gitignore | 1 + scripts/gulpfiles/config.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 1e7a1e198..ea2fce879 100644 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,5 @@ local_build/*compiler*.jar local_build/local_*_compressed.js chromedriver typings/tmp/* +built/ dist/ diff --git a/scripts/gulpfiles/config.js b/scripts/gulpfiles/config.js index 370b5a79b..4008b6304 100644 --- a/scripts/gulpfiles/config.js +++ b/scripts/gulpfiles/config.js @@ -14,7 +14,7 @@ var path = require('path'); // trailing slash. module.exports = { // Directory to write compiled output to. - BUILD_DIR: '.', + BUILD_DIR: 'built', // Directory in which to assemble (and from which to publish) the // blockly npm package.