Permalink
Browse files

Override mix webpack output configuration

  • Loading branch information...
acodeninja committed Mar 13, 2018
1 parent 74a2fd1 commit 52116781379d3f829909cc21bd8bd3f8ce1e2676
Showing with 9 additions and 0 deletions.
  1. +9 −0 webpack.mix.js
@@ -11,5 +11,14 @@ let mix = require('laravel-mix');
|
*/

/**
* Override Laravel Mix Webpack Configuration
* @type {{chunkFilename: string, publicPath: string}}
*/
mix.config.webpackConfig.output = {
chunkFilename: 'js/[name].bundle.js',
publicPath: '/',
};

mix.js('resources/assets/js/app.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css');

0 comments on commit 5211678

Please sign in to comment.