Skip to content

Commit 6d0ee70

Browse files
committed
Adding colors to noParse
1 parent 21c0119 commit 6d0ee70

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ module.exports = function(webpackEnv) {
346346
],
347347
},
348348
module: {
349-
noParse: /iconv-loader\.js$/, // https://github.com/webpack/webpack/issues/3078#issuecomment-400697407
349+
noParse: [/iconv-loader\.js$/, /colors\.js$/], // https://github.com/webpack/webpack/issues/3078#issuecomment-400697407
350350
strictExportPresence: true,
351351
rules: [
352352
// Disable require.ensure as it's not a standard language feature.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ module.exports = function(webpackEnv) {
350350
],
351351
},
352352
module: {
353-
noParse: /iconv-loader\.js$/, // https://github.com/webpack/webpack/issues/3078#issuecomment-400697407
353+
noParse: [/iconv-loader\.js$/, /colors\.js$/], // https://github.com/webpack/webpack/issues/3078#issuecomment-400697407
354354
strictExportPresence: true,
355355
rules: [
356356
// Disable require.ensure as it's not a standard language feature.

packages/react-scripts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "backpack-react-scripts",
3-
"version": "7.1.0-alpha.5e6feadc",
3+
"version": "7.1.0-alpha.d510ff8a",
44
"description": "Backpack configuration and scripts for Create React App.",
55
"repository": "Skyscanner/backpack-react-scripts",
66
"license": "MIT",

0 commit comments

Comments
 (0)