1
0
mirror of https://github.com/oceanprotocol/react.git synced 2024-12-23 17:54:03 +01:00
react/example/config-overrides.js

16 lines
351 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,
2020-09-28 09:00:07 +02:00
react: path.resolve('../node_modules/react'),
2020-09-29 14:29:05 +02:00
'@oceanprotocol/lib': path.resolve('../node_modules/@oceanprotocol/lib')
2020-09-02 14:41:25 +02:00
}
}
}
}