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.

28 lines
935 B

6 years ago
4 years ago
5 years ago
4 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/crispy-all.scss', 'dist/crispy-all.css')
  13. .sass('src/crispy-minimal.scss', 'dist/crispy-minimal.css')
  14. .sass('src/example/styles.scss', 'dist/example/styles.css', {
  15. sassOptions: {
  16. includePaths: [
  17. 'node_modules/reflex-grid/scss'
  18. ]
  19. }
  20. })
  21. .copy('assets/iconmoon/symbol-defs.svg', 'dist/example')
  22. .options({
  23. postCss: [
  24. require('postcss-css-variables')()
  25. ]
  26. });