Update webpack.mix.js
This commit is contained in:
		
							parent
							
								
									311f8d5ef3
								
							
						
					
					
						commit
						20789cb866
					
				
					 1 changed files with 16 additions and 14 deletions
				
			
		| 
						 | 
				
			
			@ -8,18 +8,20 @@ mix.disableNotifications()
 | 
			
		|||
    require('tailwindcss'),
 | 
			
		||||
    require('postcss-nested'),
 | 
			
		||||
  ])
 | 
			
		||||
  .extract()
 | 
			
		||||
  .js('resources/js/app.js', 'source/dist/js')
 | 
			
		||||
  .browserSync({
 | 
			
		||||
    proxy: 'localhost:8000',
 | 
			
		||||
    files: [
 | 
			
		||||
      'output_*/**/*'
 | 
			
		||||
    ],
 | 
			
		||||
    notify: false,
 | 
			
		||||
    open: false
 | 
			
		||||
  })
 | 
			
		||||
  .purgeCss({
 | 
			
		||||
    folders: ['resources', 'output_*'],
 | 
			
		||||
    whitelistPatterns: [/language/, /hljs/],
 | 
			
		||||
    whitelistPatternsChildren: [/^markdown$/]
 | 
			
		||||
  })
 | 
			
		||||
  .extract()
 | 
			
		||||
 | 
			
		||||
mix.browserSync({
 | 
			
		||||
  proxy: 'localhost:8000',
 | 
			
		||||
  files: [
 | 
			
		||||
    'output_*/**/*'
 | 
			
		||||
  ],
 | 
			
		||||
  notify: false,
 | 
			
		||||
  open: false
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
mix.purgeCss({
 | 
			
		||||
  folders: ['resources', 'output_*'],
 | 
			
		||||
  whitelistPatterns: [/language/, /hljs/],
 | 
			
		||||
  whitelistPatternsChildren: [/^markdown$/]
 | 
			
		||||
})
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue