File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
packages/react-scripts/config Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -345,6 +345,7 @@ module.exports = function(webpackEnv) {
345345 ] ,
346346 } ,
347347 module : {
348+ noParse : / i c o n v - l o a d e r \. j s $ / , // https://github.com/webpack/webpack/issues/3078#issuecomment-400697407
348349 strictExportPresence : true ,
349350 rules : [
350351 // Disable require.ensure as it's not a standard language feature.
Original file line number Diff line number Diff line change @@ -350,6 +350,7 @@ module.exports = function(webpackEnv) {
350350 ] ,
351351 } ,
352352 module : {
353+ noParse : / i c o n v - l o a d e r \. j s $ / , // https://github.com/webpack/webpack/issues/3078#issuecomment-400697407
353354 strictExportPresence : true ,
354355 rules : [
355356 // Disable require.ensure as it's not a standard language feature.
@@ -616,7 +617,6 @@ module.exports = function(webpackEnv) {
616617 ] ,
617618 } ,
618619 plugins : [
619- new webpack . IgnorePlugin ( / \/ i c o n v - l o a d e r $ / ) , // https://github.com/webpack/webpack/issues/3078#issuecomment-400697407
620620 useHardSourceWebpackPlugin &&
621621 new HardSourceWebpackPlugin ( { environmentHash } ) ,
622622 useHardSourceWebpackPlugin &&
You can’t perform that action at this time.
0 commit comments