Skip to content
Prev Previous commit
Next Next commit
Add header comment
  • Loading branch information
tharakawj committed Oct 3, 2017
commit 483e631494c7093bb1dfccfeda3fff31f5a6c2e2
10 changes: 10 additions & 0 deletions packages/react-error-overlay/build.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
'use strict';

const webpack = require('webpack');
const chalk = require('chalk');
const webpackConfig = require('./webpack.config.js');
Expand Down
1 change: 1 addition & 0 deletions packages/react-error-overlay/src/iframeScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/

import './utils/pollyfills.js';
import React from 'react';
import ReactDOM from 'react-dom';
Expand Down
13 changes: 11 additions & 2 deletions packages/react-error-overlay/webpack.config.iframe.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
var path = require('path');
var webpack = require('webpack');
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
'use strict';

const path = require('path');

module.exports = {
devtool: 'cheap-module-source-map',
Expand Down
13 changes: 11 additions & 2 deletions packages/react-error-overlay/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
var path = require('path');
var webpack = require('webpack');
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
'use strict';

const path = require('path');

module.exports = {
devtool: 'cheap-module-source-map',
Expand Down