Skip to content

Commit

Permalink
Adding colors to noParse
Browse files Browse the repository at this point in the history
  • Loading branch information
olliecurtis committed Sep 23, 2020
1 parent 21c0119 commit 6d0ee70
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/react-scripts/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ module.exports = function(webpackEnv) {
],
},
module: {
noParse: /iconv-loader\.js$/, // https://github.com/webpack/webpack/issues/3078#issuecomment-400697407
noParse: [/iconv-loader\.js$/, /colors\.js$/], // https://github.com/webpack/webpack/issues/3078#issuecomment-400697407
strictExportPresence: true,
rules: [
// Disable require.ensure as it's not a standard language feature.
Expand Down
2 changes: 1 addition & 1 deletion packages/react-scripts/config/webpack.config.ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ module.exports = function(webpackEnv) {
],
},
module: {
noParse: /iconv-loader\.js$/, // https://github.com/webpack/webpack/issues/3078#issuecomment-400697407
noParse: [/iconv-loader\.js$/, /colors\.js$/], // https://github.com/webpack/webpack/issues/3078#issuecomment-400697407
strictExportPresence: true,
rules: [
// Disable require.ensure as it's not a standard language feature.
Expand Down
2 changes: 1 addition & 1 deletion packages/react-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "backpack-react-scripts",
"version": "7.1.0-alpha.5e6feadc",
"version": "7.1.0-alpha.d510ff8a",
"description": "Backpack configuration and scripts for Create React App.",
"repository": "Skyscanner/backpack-react-scripts",
"license": "MIT",
Expand Down

0 comments on commit 6d0ee70

Please sign in to comment.