diff --git a/src/index.html b/src/index.html index a13c34edd..d75a3fc33 100755 --- a/src/index.html +++ b/src/index.html @@ -9,6 +9,8 @@
+ + \ No newline at end of file diff --git a/src/index.js b/src/index.js index a22f17594..cfe50f77e 100755 --- a/src/index.js +++ b/src/index.js @@ -2,4 +2,6 @@ import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; -ReactDOM.render(, document.getElementById('app')); +window.runApp = () => { + ReactDOM.render(, document.getElementById('app')); +}; diff --git a/webpack.config.js b/webpack.config.js index cae5f219c..c94b3db05 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -98,7 +98,8 @@ module.exports = { }, plugins: [ new HtmlWebPackPlugin({ - template: './src/index.html' + template: './src/index.html', + inject: false }), new CopyWebpackPlugin([ { from: 'images', to: 'images' },