diff --git a/config/webpack.config.dev.js b/config/webpack.config.dev.js index e95cffd1..16305df8 100644 --- a/config/webpack.config.dev.js +++ b/config/webpack.config.dev.js @@ -86,7 +86,7 @@ module.exports = { externals: { "react": "React", "react-dom": "ReactDOM", - "alex": "Alex", + // "alex": "Alex", }, resolve: { // This allows you to set a fallback for where Webpack should look for modules. diff --git a/config/webpack.config.prod.js b/config/webpack.config.prod.js index e441901b..333674d6 100644 --- a/config/webpack.config.prod.js +++ b/config/webpack.config.prod.js @@ -83,7 +83,7 @@ module.exports = { .replace(/\\/g, "/"), }, externals: { - 'alex': 'Alex', + // 'alex': 'Alex', "react": "React", "react-dom": "ReactDOM", }, diff --git a/config/webpackDevServer.config.js b/config/webpackDevServer.config.js index f12d3159..fcee2400 100644 --- a/config/webpackDevServer.config.js +++ b/config/webpackDevServer.config.js @@ -5,7 +5,6 @@ const noopServiceWorkerMiddleware = require('react-dev-utils/noopServiceWorkerMi const ignoredFiles = require('react-dev-utils/ignoredFiles'); const config = require('./webpack.config.dev'); const paths = require('./paths'); - const protocol = process.env.HTTPS === 'true' ? 'https' : 'http'; const host = process.env.HOST || '0.0.0.0'; diff --git a/package.json b/package.json index 89c63dd0..ffc89846 100644 --- a/package.json +++ b/package.json @@ -152,7 +152,10 @@ "babel": { "presets": [ "react", - "react-app" + "react-app", + { + "runtime": "automatic" + } ], "plugins": [ [ diff --git a/public/index.html b/public/index.html index ef3c4170..4b5f83a7 100755 --- a/public/index.html +++ b/public/index.html @@ -20,7 +20,7 @@ - + @@ -51,20 +51,21 @@ + + + - - - <%= htmlWebpackPlugin.tags.bodyTags %>