Lightweight CSS Framework for Building Apps and Websites https://crispy-css.com
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.

34 lines
1.0 KiB

6 years ago
5 years ago
6 years ago
  1. let 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 your application, as well as bundling up your JS files.
  10. |
  11. */
  12. mix.sass('src/all.scss', 'dist/crispy.css', {
  13. sassOptions: {
  14. includePaths: [
  15. 'node_modules/normalize-scss/sass'
  16. ]
  17. }
  18. })
  19. .sass('src/example/styles.scss', 'dist/example/styles.css', {
  20. sassOptions: {
  21. includePaths: [
  22. 'node_modules/normalize-scss/sass',
  23. 'node_modules/reflex-grid/scss'
  24. ]
  25. }
  26. })
  27. .copy('assets/iconmoon/symbol-defs.svg', 'dist/example')
  28. .options({
  29. postCss: [
  30. require('postcss-css-variables')()
  31. ]
  32. });