webpack.mix.js 320 B

1234567891011
  1. const { mix } = require('laravel-mix');
  2. require('laravel-mix-merge-manifest');
  3. mix.setPublicPath('../../public').mergeManifest();
  4. mix.js(__dirname + '/Resources/assets/js/app.js', 'js/admin.js')
  5. .sass( __dirname + '/Resources/assets/sass/app.scss', 'css/admin.css');
  6. if (mix.inProduction()) {
  7. mix.version();
  8. }