webpack.mix.js 895 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. //
  13. mix.js('resources/js/app.js', 'public/js')
  14. .sass('resources/sass/app.scss', 'public/css');
  15. // mix.js('resources/js/admin/admin.js', 'public/js/vue.js');
  16. // .sass('resources/assets/sass/admin.scss', 'public/css');
  17. // mix.js('app/Admin/Extensions/laravel-admin-ext/wechat/resources/assets/wechat.js', 'public/wechat-static')
  18. // .copy('app/Admin/Extensions/laravel-admin-ext/wechat/resources/assets/css/wechat.css', 'public/wechat-static');