| 
									
										
										
										
											2022-08-28 16:31:20 +02:00
										 |  |  | import webpack from 'webpack'; | 
					
						
							| 
									
										
										
										
											2022-12-27 16:56:59 +01:00
										 |  |  | // import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
 | 
					
						
							| 
									
										
										
										
											2022-08-28 16:31:20 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | export default { | 
					
						
							| 
									
										
										
										
											2022-12-27 16:56:59 +01:00
										 |  |  |   plugins: [ | 
					
						
							|  |  |  |     new webpack.ContextReplacementPlugin(/moment[\/\\]locale$/, /en/), | 
					
						
							|  |  |  |     // new BundleAnalyzerPlugin(),
 | 
					
						
							|  |  |  |   ], | 
					
						
							| 
									
										
										
										
											2023-06-02 16:35:31 +02:00
										 |  |  |   module: { | 
					
						
							|  |  |  |     rules: [ | 
					
						
							|  |  |  |       { | 
					
						
							|  |  |  |         test: /\.m?js$/, | 
					
						
							|  |  |  |         exclude: /node_modules/, | 
					
						
							|  |  |  |         use: { | 
					
						
							|  |  |  |           loader: 'babel-loader', | 
					
						
							|  |  |  |           options: { | 
					
						
							| 
									
										
										
										
											2023-06-15 13:09:23 +02:00
										 |  |  |             presets: [['@babel/preset-env']], | 
					
						
							| 
									
										
										
										
											2023-06-02 16:35:31 +02:00
										 |  |  |           }, | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |   }, | 
					
						
							| 
									
										
										
										
											2022-08-28 16:31:20 +02:00
										 |  |  | }; |