webpack.mix.js 802 B

123456789101112131415161718192021
  1. const { mix } = require('laravel-mix');
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Mix Asset Management
  5. |--------------------------------------------------------------------------
  6. |
  7. | Mix provides a clean, fluent API for defining some Webpack build steps
  8. | for your Laravel application. By default, we are compiling the Sass
  9. | file for the application as well as bundling up all the JS files.
  10. |
  11. */
  12. // mix.js('resources/assets/js/app.js', 'public/js')
  13. // .sass('resources/assets/sass/app.scss', 'public/css');
  14. mix.js('resources/assets/js/app.js', 'public/js')
  15. .sass('resources/assets/sass/app.scss', 'public/css/app.css');
  16. // mix.sass('resources/assets/sass/my.scss','public/css');
  17. // mix.sass('resources/assets/sass/custom.scss','public/css');