diff --git a/public/react/config/webpack.config.dev.js b/public/react/config/webpack.config.dev.js index 9b9d16406..1adf3aef9 100644 --- a/public/react/config/webpack.config.dev.js +++ b/public/react/config/webpack.config.dev.js @@ -26,6 +26,7 @@ const env = getClientEnvironment(publicUrl); // This is the development configuration. // It is focused on developer experience and fast rebuilds. // The production configuration is different and lives in a separate file. +// 测试用的 module.exports = { // You may want 'eval' instead if you prefer to see the compiled output in DevTools. // See the discussion in https://github.com/facebookincubator/create-react-app/issues/343.s diff --git a/public/react/config/webpack.config.prod.js b/public/react/config/webpack.config.prod.js index f6960d77c..8cab0465f 100644 --- a/public/react/config/webpack.config.prod.js +++ b/public/react/config/webpack.config.prod.js @@ -51,7 +51,7 @@ const extractTextPluginOptions = shouldUseRelativeAssetPaths // This is the production configuration. // It compiles slowly and is focused on producing a fast and minimal bundle. // The development configuration is different and lives in a separate file. - +// 上线用的 // console.log('publicPath ', publicPath) module.exports = { // externals: {