설명 없음

webpack.mix.js 833B

12345678910111213141516171819202122
  1. const path = require('path');
  2. const mix = require('laravel-mix');
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Mix Asset Management
  6. |--------------------------------------------------------------------------
  7. |
  8. | Mix provides a clean, fluent API for defining some Webpack build steps
  9. | for your Laravel application. By default, we are compiling the Sass
  10. | file for the application as well as bundling up all the JS files.
  11. |
  12. */
  13. mix.js('resources/js/app.js', 'public/js')
  14. .js('resources/js/prof.js', 'public/js')
  15. .js('resources/js/course.js', 'public/js')
  16. .js('resources/js/dashboard.js', 'public/js')
  17. .js('resources/js/createPDF.js', 'public/js')
  18. .sass('resources/sass/app.scss', 'public/css', {
  19. includePaths: [path.resolve(__dirname, 'node_modules')]
  20. });