-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setting GENERATE_SOURCEMAP=false due to facebook/create-react-app#11752 also using react-app-rewired due to facebook/create-react-app#12021 and solana-labs/oyster#538
- Loading branch information
1 parent
0e77a9c
commit fa8a332
Showing
3 changed files
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// config-overrides.js | ||
module.exports = { | ||
webpack: function (config, env) { | ||
config.module.rules = config.module.rules.map((rule) => { | ||
if (rule.oneOf instanceof Array) { | ||
rule.oneOf[rule.oneOf.length - 1].exclude = [ | ||
/\.(js|mjs|jsx|cjs|ts|tsx)$/, | ||
/\.html$/, | ||
/\.json$/, | ||
]; | ||
} | ||
return rule; | ||
}); | ||
return config; | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters