mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 09:56:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			44 lines
		
	
	
		
			829 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			829 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| const alias = [
 | |
|   'object-assign',
 | |
|   'whatwg-fetch',
 | |
|   '@babel/polyfill',
 | |
|   '@buffetjs/core',
 | |
|   '@buffetjs/custom',
 | |
|   '@buffetjs/icons',
 | |
|   '@buffetjs/styles',
 | |
|   '@buffetjs/utils',
 | |
|   '@fortawesome/fontawesome-svg-core',
 | |
|   '@fortawesome/free-solid-svg-icons',
 | |
|   'classnames',
 | |
|   'history',
 | |
|   'hoist-non-react-statics',
 | |
|   'immutable',
 | |
|   'invariant',
 | |
|   'moment',
 | |
|   'react',
 | |
|   'react-copy-to-clipboard',
 | |
|   'react-dnd',
 | |
|   'react-dnd-html5-backend',
 | |
|   'react-dom',
 | |
|   'react-helmet',
 | |
|   'react-loadable',
 | |
|   'react-redux',
 | |
|   'react-router',
 | |
|   'react-router-dom',
 | |
|   'react-transition-group',
 | |
|   'react-virtualized',
 | |
|   'reactstrap',
 | |
|   'redux',
 | |
|   'redux-immutable',
 | |
|   'remove-markdown',
 | |
|   'reselect',
 | |
|   'styled-components',
 | |
|   'yup',
 | |
| ];
 | |
| 
 | |
| module.exports = alias.reduce((acc, curr) => {
 | |
|   acc[curr] = require.resolve(curr);
 | |
| 
 | |
|   return acc;
 | |
| }, {});
 | 
