Skip to content

Commit 83e5434

Browse files
committed
iconv fix needed for non-SSR too to prevent warning
1 parent 6f76253 commit 83e5434

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-scripts/config/webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ module.exports = function(webpackEnv) {
345345
],
346346
},
347347
module: {
348+
noParse: /iconv-loader\.js$/, // 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.

0 commit comments

Comments
 (0)