You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					25 lines
				
				396 B
			
		
		
			
		
	
	
					25 lines
				
				396 B
			| 
								 
											4 years ago
										 
									 | 
							
								const path = require('path');
							 | 
						||
| 
								 | 
							
								const merge = require('deepmerge');
							 | 
						||
| 
								 | 
							
								const baseConfig = require('../base-webpack.config');
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								module.exports = merge(baseConfig, {
							 | 
						||
| 
								 | 
							
								  context: __dirname,
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  entry: './main',
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  output: {
							 | 
						||
| 
								 | 
							
								    path: path.resolve(__dirname, 'build')
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  target: 'node',
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  module: {
							 | 
						||
| 
								 | 
							
								    rules: [
							 | 
						||
| 
								 | 
							
								      {
							 | 
						||
| 
								 | 
							
								        test: /\.svg$/,
							 | 
						||
| 
								 | 
							
								        loader: 'svg-sprite-loader'
							 | 
						||
| 
								 | 
							
								      }
							 | 
						||
| 
								 | 
							
								    ]
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								});
							 |