2014-11-17 14:32:59 +00:00
|
|
|
var elixir = require('laravel-elixir');
|
|
|
|
|
|
|
|
elixir(function(mix) {
|
2014-12-04 10:29:55 +00:00
|
|
|
mix.sass('main.scss')
|
|
|
|
.styles([
|
|
|
|
'app/assets/bower_components/bootstrap/dist/css/bootstrap.min.css',
|
|
|
|
'app/assets/bower_components/fontawesome/css/font-awesome.min.css',
|
|
|
|
'public/css/main.css',
|
|
|
|
], './')
|
|
|
|
.scripts([
|
|
|
|
'bower_components/jquery/dist/jquery.min.js',
|
|
|
|
'bower_components/bootstrap/dist/js/bootstrap.min.js',
|
|
|
|
'bower_components/chartjs/Chart.min.js',
|
|
|
|
'bower_components/rivets/dist/riverts.bundle.js',
|
|
|
|
'js/app.js',
|
|
|
|
'js/**/*.js',
|
|
|
|
], './app/assets/')
|
|
|
|
.version(['public/css/all.css', 'public/js/all.js'], 'public')
|
2014-12-04 15:32:46 +00:00
|
|
|
.copy('app/assets/bower_components/bootstrap/dist/fonts/', 'public/build/fonts')
|
|
|
|
.copy('app/assets/bower_components/fontawesome/fonts/', 'public/build/fonts');
|
2014-12-05 13:38:07 +00:00
|
|
|
});
|