1
0
mirror of https://github.com/oceanprotocol/react.git synced 2024-11-23 10:26:55 +01:00
react/example/config-overrides.js

15 lines
269 B
JavaScript
Raw Normal View History

2020-09-02 14:41:25 +02:00
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')
}
}
}
}