🍊
This commit is contained in:
		@@ -11,6 +11,10 @@ var OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin')
 | 
			
		||||
 | 
			
		||||
var env = config.build.env
 | 
			
		||||
 | 
			
		||||
function resolveApp(relativePath) {
 | 
			
		||||
    return path.resolve(relativePath);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
var webpackConfig = merge(baseWebpackConfig, {
 | 
			
		||||
  module: {
 | 
			
		||||
    rules: utils.styleLoaders({
 | 
			
		||||
@@ -53,6 +57,7 @@ var webpackConfig = merge(baseWebpackConfig, {
 | 
			
		||||
      filename: config.build.index,
 | 
			
		||||
      template: 'index.html',
 | 
			
		||||
      inject: true,
 | 
			
		||||
      favicon: resolveApp('favicon.ico'),
 | 
			
		||||
      minify: {
 | 
			
		||||
        removeComments: true,
 | 
			
		||||
        collapseWhitespace: true,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user