From 7a9e0870c983c5ecd280c2e22d66975075a9fa87 Mon Sep 17 00:00:00 2001 From: Tony Air Date: Thu, 19 Aug 2021 02:50:10 +0200 Subject: [PATCH] UPD: packages --- webpack.config.common.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webpack.config.common.js b/webpack.config.common.js index af809cc..eb636bb 100755 --- a/webpack.config.common.js +++ b/webpack.config.common.js @@ -134,8 +134,8 @@ module.exports = { externals: { // comment out jQuery if you don't use it to prevent bootstrap thinking that there's jQuery present //jquery: 'jQuery', - //react: 'React', - //'react-dom': 'ReactDOM', + react: 'React', + 'react-dom': 'ReactDOM', }, resolve: { modules: modules, @@ -145,8 +145,8 @@ module.exports = { $: require.resolve('jquery'), jquery: require.resolve('jquery'), jQuery: require.resolve('jquery'),*/ - //react: require.resolve('react'), - //'react-dom': require.resolve('react-dom'), + react: require.resolve('react'), + 'react-dom': require.resolve('react-dom'), }, fallback: { path: false