mirror of
https://github.com/oceanprotocol/react.git
synced 2024-12-23 01:29:49 +01:00
15 lines
269 B
JavaScript
15 lines
269 B
JavaScript
|
module.exports = function override(config, env) {
|
||
|
const path = require('path')
|
||
|
|
||
|
return {
|
||
|
...config,
|
||
|
resolve: {
|
||
|
...config.resolve,
|
||
|
alias: {
|
||
|
...config.resolve.alias,
|
||
|
react: path.resolve('../node_modules/react')
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|