1
0
mirror of https://github.com/oceanprotocol/react.git synced 2024-11-25 20:01:30 +01:00
react/example/config-overrides.js
2020-09-29 15:29:05 +03:00

16 lines
351 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'),
'@oceanprotocol/lib': path.resolve('../node_modules/@oceanprotocol/lib')
}
}
}
}