Files
angular__angular/build-config.js
T
2017-06-14 14:16:40 -07:00

26 lines
767 B
JavaScript

/**
* Build configuration for the packaging tool. This file will be automatically detected and used
* to build the different packages inside of Material.
*/
const {join} = require('path');
/** Current version of the project*/
const buildVersion = require('./package.json').version;
/** License that will be placed inside of all created bundles. */
const buildLicense = `/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/`;
module.exports = {
projectVersion: buildVersion,
projectDir: __dirname,
packagesDir: join(__dirname, 'src'),
outputDir: join(__dirname, 'dist'),
licenseBanner: buildLicense
};