mirror of
https://github.com/google/blockly.git
synced 2026-01-08 09:30:06 +01:00
Make the destination directories for certain build/package/release steps more easily (and centrally) configurable. This only deals with building *_compressed* files; blockly_uncompressed.js and the various msg/js/*.js files are not affected by this commit.
23 lines
470 B
JavaScript
23 lines
470 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2021 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview Common configuration for Gulp scripts.
|
|
*/
|
|
|
|
var path = require('path');
|
|
|
|
// Paths are all relative to the repository root. Do not include
|
|
// trailing slash.
|
|
module.exports = {
|
|
// Directory to write compiled output to.
|
|
BUILD_DIR: '.',
|
|
|
|
// Directory in which to assemble (and from which to publish) the
|
|
// blockly npm package.
|
|
RELEASE_DIR: 'dist',
|
|
};
|