| 
									
										
										
										
											2020-10-27 11:27:17 +01:00
										 |  |  | 'use strict'; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-05-25 14:04:09 +02:00
										 |  |  | const path = require('path'); | 
					
						
							| 
									
										
										
										
											2020-10-27 11:27:17 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-04-24 18:18:25 +02:00
										 |  |  | const alias = [ | 
					
						
							| 
									
										
										
										
											2019-04-16 12:54:16 +02:00
										 |  |  |   'object-assign', | 
					
						
							|  |  |  |   'whatwg-fetch', | 
					
						
							| 
									
										
										
										
											2019-11-26 09:14:39 +01:00
										 |  |  |   '@fortawesome/fontawesome-svg-core', | 
					
						
							|  |  |  |   '@fortawesome/free-solid-svg-icons', | 
					
						
							| 
									
										
										
										
											2020-09-23 15:14:12 +02:00
										 |  |  |   '@buffetjs/core', | 
					
						
							|  |  |  |   '@buffetjs/custom', | 
					
						
							|  |  |  |   '@buffetjs/custom', | 
					
						
							|  |  |  |   '@buffetjs/utils', | 
					
						
							|  |  |  |   '@buffetjs/icons', | 
					
						
							|  |  |  |   '@buffetjs/hooks', | 
					
						
							| 
									
										
										
										
											2019-04-24 18:18:25 +02:00
										 |  |  |   'classnames', | 
					
						
							|  |  |  |   'history', | 
					
						
							|  |  |  |   'hoist-non-react-statics', | 
					
						
							| 
									
										
										
										
											2020-05-13 10:15:07 +02:00
										 |  |  |   'immer', | 
					
						
							| 
									
										
										
										
											2019-04-24 18:18:25 +02:00
										 |  |  |   'immutable', | 
					
						
							|  |  |  |   'invariant', | 
					
						
							| 
									
										
										
										
											2021-05-05 12:48:08 +02:00
										 |  |  |   'lodash', | 
					
						
							| 
									
										
										
										
											2019-04-24 18:18:25 +02:00
										 |  |  |   'moment', | 
					
						
							| 
									
										
										
										
											2020-11-05 10:31:24 +01:00
										 |  |  |   'qs', | 
					
						
							| 
									
										
										
										
											2019-04-24 18:18:25 +02:00
										 |  |  |   'react', | 
					
						
							|  |  |  |   'react-copy-to-clipboard', | 
					
						
							|  |  |  |   'react-dnd', | 
					
						
							|  |  |  |   'react-dnd-html5-backend', | 
					
						
							|  |  |  |   'react-dom', | 
					
						
							| 
									
										
										
										
											2021-04-02 15:47:53 +02:00
										 |  |  |   'react-error-boundary', | 
					
						
							| 
									
										
										
										
											2020-06-24 16:13:56 +02:00
										 |  |  |   'react-fast-compare', | 
					
						
							| 
									
										
										
										
											2019-04-24 18:18:25 +02:00
										 |  |  |   'react-helmet', | 
					
						
							| 
									
										
										
										
											2020-02-03 15:36:59 +01:00
										 |  |  |   'react-is', | 
					
						
							| 
									
										
										
										
											2020-04-21 18:40:20 +02:00
										 |  |  |   'react-intl', | 
					
						
							| 
									
										
										
										
											2019-04-24 18:18:25 +02:00
										 |  |  |   'react-loadable', | 
					
						
							|  |  |  |   'react-redux', | 
					
						
							|  |  |  |   'react-router', | 
					
						
							|  |  |  |   'react-router-dom', | 
					
						
							|  |  |  |   'react-transition-group', | 
					
						
							| 
									
										
										
										
											2020-12-24 15:21:48 +01:00
										 |  |  |   'react-tooltip', | 
					
						
							| 
									
										
										
										
											2019-11-26 09:14:39 +01:00
										 |  |  |   'react-virtualized', | 
					
						
							| 
									
										
										
										
											2020-04-21 17:25:34 +02:00
										 |  |  |   'react-select', | 
					
						
							| 
									
										
										
										
											2019-04-24 18:18:25 +02:00
										 |  |  |   'redux', | 
					
						
							|  |  |  |   'redux-immutable', | 
					
						
							|  |  |  |   'reselect', | 
					
						
							|  |  |  |   'styled-components', | 
					
						
							| 
									
										
										
										
											2019-07-18 16:53:12 +02:00
										 |  |  |   'yup', | 
					
						
							| 
									
										
										
										
											2019-04-24 18:18:25 +02:00
										 |  |  | ]; | 
					
						
							| 
									
										
										
										
											2019-04-16 12:54:16 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-04-21 17:25:34 +02:00
										 |  |  | module.exports = alias.reduce( | 
					
						
							|  |  |  |   (acc, curr) => { | 
					
						
							| 
									
										
										
										
											2020-09-23 15:14:12 +02:00
										 |  |  |     acc[`${curr}$`] = require.resolve(curr); | 
					
						
							| 
									
										
										
										
											2020-04-21 17:25:34 +02:00
										 |  |  |     return acc; | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     'react-select/animated': require.resolve('react-select/animated'), | 
					
						
							|  |  |  |     'react-select/async': require.resolve('react-select/async'), | 
					
						
							|  |  |  |     'react-select/async-creatable': require.resolve('react-select/async-creatable'), | 
					
						
							|  |  |  |     'react-select/base': require.resolve('react-select/base'), | 
					
						
							|  |  |  |     'react-select/creatable': require.resolve('react-select/creatable'), | 
					
						
							| 
									
										
										
										
											2020-05-25 14:04:09 +02:00
										 |  |  |     ee_else_ce: path.resolve(__dirname), | 
					
						
							| 
									
										
										
										
											2020-04-21 17:25:34 +02:00
										 |  |  |   } | 
					
						
							|  |  |  | ); |