| 
									
										
										
										
											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
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-21 10:20:06 +02:00
										 |  |  | const aliasExactMatch = [ | 
					
						
							|  |  |  |   '@strapi/design-system', | 
					
						
							|  |  |  |   '@strapi/helper-plugin', | 
					
						
							|  |  |  |   '@strapi/icons', | 
					
						
							| 
									
										
										
										
											2019-11-26 09:14:39 +01:00
										 |  |  |   '@fortawesome/fontawesome-svg-core', | 
					
						
							|  |  |  |   '@fortawesome/free-solid-svg-icons', | 
					
						
							| 
									
										
										
										
											2022-06-21 10:20:06 +02:00
										 |  |  |   'date-fns', | 
					
						
							|  |  |  |   'formik', | 
					
						
							| 
									
										
										
										
											2019-04-24 18:18:25 +02:00
										 |  |  |   'history', | 
					
						
							| 
									
										
										
										
											2020-05-13 10:15:07 +02:00
										 |  |  |   'immer', | 
					
						
							| 
									
										
										
										
											2022-06-21 10:20:06 +02:00
										 |  |  |   'qs', | 
					
						
							| 
									
										
										
										
											2021-05-05 12:48:08 +02:00
										 |  |  |   'lodash', | 
					
						
							| 
									
										
										
										
											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', | 
					
						
							| 
									
										
										
										
											2022-06-23 09:29:42 +02:00
										 |  |  |   'react-query', | 
					
						
							| 
									
										
										
										
											2019-04-24 18:18:25 +02:00
										 |  |  |   'react-redux', | 
					
						
							|  |  |  |   'react-router', | 
					
						
							|  |  |  |   'react-router-dom', | 
					
						
							| 
									
										
										
										
											2022-07-28 15:20:33 +02:00
										 |  |  |   'react-window', | 
					
						
							| 
									
										
										
										
											2020-04-21 17:25:34 +02:00
										 |  |  |   'react-select', | 
					
						
							| 
									
										
										
										
											2019-04-24 18:18:25 +02:00
										 |  |  |   'redux', | 
					
						
							|  |  |  |   'reselect', | 
					
						
							|  |  |  |   'styled-components', | 
					
						
							| 
									
										
										
										
											2022-06-21 10:20:06 +02:00
										 |  |  |   'whatwg-fetch', | 
					
						
							| 
									
										
										
										
											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
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-21 10:20:06 +02:00
										 |  |  | // See https://webpack.js.org/configuration/resolve/
 | 
					
						
							|  |  |  | module.exports = { | 
					
						
							|  |  |  |   ...aliasExactMatch.reduce((acc, name) => { | 
					
						
							|  |  |  |     acc[`${name}$`] = require.resolve(name); | 
					
						
							|  |  |  |     return acc; | 
					
						
							|  |  |  |   }, {}), | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   ee_else_ce: path.resolve(__dirname), | 
					
						
							|  |  |  | }; |