the bola v2 website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

webpack.mix.js 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 applications. By default, we are compiling the CSS
  9. | file for the application as well as bundling up all the JS files.
  10. |
  11. */
  12. mix.postCss('resources/css/bootstrap.css', 'public/css')
  13. mix.postCss('resources/css/normalize.css', 'public/css')
  14. mix.postCss('resources/css/main.css', 'public/css')
  15. mix.postCss('resources/css/aos.css', 'public/css')
  16. mix.js('resources/js/bootstrap.bundle.js', 'public/js')
  17. mix.js('resources/js/jquery.js', 'public/js')
  18. mix.js('resources/js/main.js', 'public/js')
  19. mix.js('resources/js/aos.js', 'public/js')
  20. mix.js('resources/js/api/API.js', 'public/js/api')
  21. if (mix.inProduction()) {
  22. mix.version();
  23. }
  24. /*
  25. |--------------------------------------------------------------------------
  26. | Statamic Control Panel
  27. |--------------------------------------------------------------------------
  28. |
  29. | Feel free to add your own JS or CSS to the Statamic Control Panel.
  30. | https://statamic.dev/extending/control-panel#adding-css-and-js-assets
  31. |
  32. */
  33. // mix.js('resources/js/cp.js', 'public/vendor/app/js')
  34. // .postCss('resources/css/cp.css', 'public/vendor/app/css', [
  35. // require('postcss-import'),
  36. // require('tailwindcss/nesting'),
  37. // require('tailwindcss'),
  38. // ])