Skip to content

Commit 483e631

Browse files
committed
Add header comment
1 parent a52592f commit 483e631

File tree

4 files changed

+33
-4
lines changed

4 files changed

+33
-4
lines changed

packages/react-error-overlay/build.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/**
2+
* Copyright (c) 2015-present, Facebook, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree. An additional grant
7+
* of patent rights can be found in the PATENTS file in the same directory.
8+
*/
9+
'use strict';
10+
111
const webpack = require('webpack');
212
const chalk = require('chalk');
313
const webpackConfig = require('./webpack.config.js');

packages/react-error-overlay/src/iframeScript.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*/
9+
910
import './utils/pollyfills.js';
1011
import React from 'react';
1112
import ReactDOM from 'react-dom';

packages/react-error-overlay/webpack.config.iframe.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1-
var path = require('path');
2-
var webpack = require('webpack');
1+
/**
2+
* Copyright (c) 2015-present, Facebook, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree. An additional grant
7+
* of patent rights can be found in the PATENTS file in the same directory.
8+
*/
9+
'use strict';
10+
11+
const path = require('path');
312

413
module.exports = {
514
devtool: 'cheap-module-source-map',

packages/react-error-overlay/webpack.config.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1-
var path = require('path');
2-
var webpack = require('webpack');
1+
/**
2+
* Copyright (c) 2015-present, Facebook, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree. An additional grant
7+
* of patent rights can be found in the PATENTS file in the same directory.
8+
*/
9+
'use strict';
10+
11+
const path = require('path');
312

413
module.exports = {
514
devtool: 'cheap-module-source-map',

0 commit comments

Comments
 (0)