-
Notifications
You must be signed in to change notification settings - Fork 614
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add webiny-react-rewired package to abstract away CRA rewiring.
- Loading branch information
Showing
24 changed files
with
663 additions
and
896 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
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 |
---|---|---|
@@ -1,14 +1,2 @@ | ||
const overrideBabel = require("./overrides/babel"); | ||
const overrideSass = require("./overrides/sass"); | ||
|
||
module.exports = { | ||
webpack(config) { | ||
// Enable .babelrc in each monorepo package | ||
overrideBabel(config.module.rules); | ||
|
||
// Add proper includePaths | ||
overrideSass(config); | ||
|
||
return config; | ||
} | ||
}; | ||
// @flowIgnore | ||
module.exports = require("webiny-react-rewired/config-overrides")(); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.