|
|
@ -54,9 +54,9 @@ const extractTextPluginOptions = shouldUseRelativeAssetPaths
|
|
|
|
|
|
|
|
|
|
|
|
// console.log('publicPath ', publicPath)
|
|
|
|
// console.log('publicPath ', publicPath)
|
|
|
|
module.exports = {
|
|
|
|
module.exports = {
|
|
|
|
externals: {
|
|
|
|
// externals: {
|
|
|
|
'react': 'window.React'
|
|
|
|
// 'react': 'window.React'
|
|
|
|
},
|
|
|
|
// },
|
|
|
|
// Don't attempt to continue if there are any errors.
|
|
|
|
// Don't attempt to continue if there are any errors.
|
|
|
|
bail: true,
|
|
|
|
bail: true,
|
|
|
|
// We generate sourcemaps in production. This is slow but gives good results.
|
|
|
|
// We generate sourcemaps in production. This is slow but gives good results.
|
|
|
|