mirror of
https://github.com/strapi/strapi.git
synced 2025-06-27 00:41:25 +00:00
36 lines
627 B
JavaScript
36 lines
627 B
JavaScript
const alias = [
|
|
'object-assign',
|
|
'whatwg-fetch',
|
|
'@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',
|
|
];
|
|
|
|
module.exports = alias.reduce((acc, curr) => {
|
|
acc[curr] = require.resolve(curr);
|
|
|
|
return acc;
|
|
}, {});
|