server/src/gulpfile.js
changeset 4 f55970e41793
parent 1 01a844d292ac
child 20 a9b98b16b053
equal deleted inserted replaced
3:2b3247d02769 4:f55970e41793
     9  | for your Laravel application. By default, we are compiling the Less
     9  | for your Laravel application. By default, we are compiling the Less
    10  | file for our application, as well as publishing vendor resources.
    10  | file for our application, as well as publishing vendor resources.
    11  |
    11  |
    12  */
    12  */
    13 
    13 
       
    14  var paths = {
       
    15  'bower_base_path': './vendor/bower_components/',
       
    16  'bootstrap': './vendor/bower_components/bootstrap-sass/assets/'
       
    17  };
       
    18 
       
    19 
    14 elixir(function(mix) {
    20 elixir(function(mix) {
    15     mix.less('app.less');
    21     mix.sass('app.scss', 'public/css/app.css', {includePaths: [paths['bootstrap']+'stylesheets/']})
       
    22         .copy(paths.bootstrap + 'fonts/bootstrap', 'public/fonts')
       
    23         .copy(paths.bootstrap + 'javascripts/bootstrap.js', 'public/js/vendor/bootstrap.js')
       
    24         .copy(paths.bower_base_path + 'jquery/dist/jquery.min.js', 'public/js/vendor/jquery.js')
       
    25         .copy(paths.bower_base_path + 'font-awesome/css/font-awesome.min.css', 'public/css/vendor/font-awesome.css');
    16 });
    26 });