2019-04-24 18:18:25 +02:00
|
|
|
const alias = [
|
2019-04-16 12:54:16 +02:00
|
|
|
'object-assign',
|
|
|
|
'whatwg-fetch',
|
2019-04-24 18:18:25 +02:00
|
|
|
'@babel/polyfill',
|
|
|
|
'classnames',
|
|
|
|
'history',
|
|
|
|
'hoist-non-react-statics',
|
|
|
|
'immutable',
|
|
|
|
'invariant',
|
|
|
|
'moment',
|
|
|
|
'react',
|
|
|
|
'react-copy-to-clipboard',
|
|
|
|
'react-dnd',
|
|
|
|
'react-dnd-html5-backend',
|
|
|
|
'react-dom',
|
|
|
|
'react-ga',
|
|
|
|
'react-helmet',
|
|
|
|
'react-loadable',
|
|
|
|
'react-redux',
|
|
|
|
'react-router',
|
|
|
|
'react-router-dom',
|
|
|
|
'react-transition-group',
|
|
|
|
'reactstrap',
|
|
|
|
'redux',
|
|
|
|
'redux-immutable',
|
|
|
|
'remove-markdown',
|
|
|
|
'reselect',
|
|
|
|
'styled-components',
|
|
|
|
];
|
2019-04-16 12:54:16 +02:00
|
|
|
|
2019-04-24 18:18:25 +02:00
|
|
|
module.exports = alias.reduce((acc, curr) => {
|
|
|
|
acc[curr] = require.resolve(curr);
|
2019-04-24 14:32:20 +02:00
|
|
|
|
2019-04-24 18:18:25 +02:00
|
|
|
return acc;
|
|
|
|
}, {});
|