Advertisement
Guest User

Untitled

a guest
May 27th, 2015
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. var elixir = require('laravel-elixir');
  2.  
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Elixir Asset Management
  6. |--------------------------------------------------------------------------
  7. |
  8. | Elixir provides a clean, fluent API for defining some basic Gulp tasks
  9. | for your Laravel application. By default, we are compiling the Less
  10. | file for our application, as well as publishing vendor resources.
  11. |
  12. */
  13.  
  14. var paths = {
  15. 'jquery' : './vendor/bower_components/jquery/',
  16. 'bootstrap' : 'vendor/bower_components/bootstrap-sass-official/assets/'
  17. }
  18.  
  19.  
  20. elixir(function(mix) {
  21. mix.sass('app.scss', 'public/css', {includePaths: [paths.bootstrap + 'stylesheets/']})
  22. .copy(paths.bootstrap + 'fonts/bootstrap/**', 'public/fonts')
  23. .scripts([
  24. paths.jquery + 'dist/jquery.js',
  25. paths.bootstrap + 'javascripts/bootstrap.js'
  26. ], 'public/js/app.js', './')
  27. .styles(['app.css'], null, 'public/css')
  28. .version(['js/app.js','css/app.css']);
  29. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement