refactor: add license header to JS files & format files (#12035)
This commit is contained in:

committed by
Chuck Jazdzewski

parent
b64b5ece65
commit
8310c91823
@ -1,3 +1,11 @@
|
||||
/**
|
||||
* @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
|
||||
*/
|
||||
|
||||
var webpack = require('webpack');
|
||||
|
||||
/**
|
||||
@ -8,8 +16,7 @@ var webpack = require('webpack');
|
||||
* @returns {Function}
|
||||
*/
|
||||
function webPackPromiseify(options) {
|
||||
|
||||
return new Promise(function (resolve, reject) {
|
||||
return new Promise(function(resolve, reject) {
|
||||
|
||||
webpack(options, function(err, stats) {
|
||||
var jsonStats = stats.toJson() || {};
|
||||
@ -29,4 +36,4 @@ function webPackPromiseify(options) {
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = webPackPromiseify;
|
||||
module.exports = webPackPromiseify;
|
||||
|
Reference in New Issue
Block a user