mirror of
				https://github.com/CaramelFur/Picsur.git
				synced 2025-10-31 09:25:48 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			495 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			495 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import webpack from 'webpack';
 | |
| // import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
 | |
| 
 | |
| export default {
 | |
|   plugins: [
 | |
|     new webpack.ContextReplacementPlugin(/moment[\/\\]locale$/, /en/),
 | |
|     // new BundleAnalyzerPlugin(),
 | |
|   ],
 | |
|   module: {
 | |
|     rules: [
 | |
|       {
 | |
|         test: /\.m?js$/,
 | |
|         exclude: /node_modules/,
 | |
|         use: {
 | |
|           loader: 'babel-loader',
 | |
|           options: {
 | |
|             presets: [['@babel/preset-env']],
 | |
|           },
 | |
|         },
 | |
|       },
 | |
|     ],
 | |
|   },
 | |
| };
 |