| 
									
										
										
										
											2017-01-31 22:31:55 +00:00
										 |  |  | // #docregion
 | 
					
						
							|  |  |  | var webpackMerge = require('webpack-merge'); | 
					
						
							|  |  |  | var ExtractTextPlugin = require('extract-text-webpack-plugin'); | 
					
						
							|  |  |  | var commonConfig = require('./webpack.common.js'); | 
					
						
							|  |  |  | var helpers = require('./helpers'); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | module.exports = webpackMerge(commonConfig, { | 
					
						
							|  |  |  |   devtool: 'cheap-module-eval-source-map', | 
					
						
							| 
									
										
										
										
											2017-04-12 21:53:18 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-01-31 22:31:55 +00:00
										 |  |  |   output: { | 
					
						
							|  |  |  |     path: helpers.root('dist'), | 
					
						
							| 
									
										
										
										
											2017-04-12 21:53:18 +02:00
										 |  |  |     publicPath: '/', | 
					
						
							| 
									
										
										
										
											2017-01-31 22:31:55 +00:00
										 |  |  |     filename: '[name].js', | 
					
						
							|  |  |  |     chunkFilename: '[id].chunk.js' | 
					
						
							|  |  |  |   }, | 
					
						
							| 
									
										
										
										
											2017-04-12 21:53:18 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-01-31 22:31:55 +00:00
										 |  |  |   plugins: [ | 
					
						
							|  |  |  |     new ExtractTextPlugin('[name].css') | 
					
						
							|  |  |  |   ], | 
					
						
							| 
									
										
										
										
											2017-04-12 21:53:18 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-01-31 22:31:55 +00:00
										 |  |  |   devServer: { | 
					
						
							|  |  |  |     historyApiFallback: true, | 
					
						
							|  |  |  |     stats: 'minimal' | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | }); | 
					
						
							| 
									
										
										
										
											2017-04-12 21:53:18 +02:00
										 |  |  | // #enddocregion
 |