2014-11-17 14:32:59 +00:00
|
|
|
var elixir = require('laravel-elixir');
|
2014-12-30 11:23:03 +00:00
|
|
|
|
2015-10-04 21:23:12 -05:00
|
|
|
elixir.config.production = true;
|
2015-06-15 17:17:49 -05:00
|
|
|
elixir.config.sourcemaps = false;
|
|
|
|
|
2015-02-21 01:36:01 -06:00
|
|
|
elixir(function (mix) {
|
2015-02-28 20:18:30 +00:00
|
|
|
mix
|
2015-07-25 19:17:30 +01:00
|
|
|
.sass('app.scss', 'public/dist/css/app.css')
|
2015-02-21 01:36:01 -06:00
|
|
|
.styles([
|
2015-06-19 11:47:38 +01:00
|
|
|
'vendor/bower_components/jquery-minicolors/jquery.minicolors.css',
|
2015-10-01 23:25:08 +02:00
|
|
|
'vendor/bower_components/sweetalert/dist/sweetalert.css',
|
2015-06-15 17:17:49 -05:00
|
|
|
'public/dist/css/app.css'
|
2015-02-21 01:36:01 -06:00
|
|
|
], 'public/dist/css/all.css', './')
|
|
|
|
.scripts([
|
2015-06-19 11:47:38 +01:00
|
|
|
'vendor/bower_components/jquery/dist/jquery.js',
|
|
|
|
'vendor/bower_components/bootstrap-sass/assets/javascripts/bootstrap.js',
|
|
|
|
'vendor/bower_components/moment/min/moment-with-locales.js',
|
|
|
|
'vendor/bower_components/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js',
|
2015-09-23 21:25:06 +01:00
|
|
|
'vendor/bower_components/lodash/lodash.js',
|
|
|
|
'vendor/bower_components/autosize/dist/autosize.js',
|
2015-06-19 11:47:38 +01:00
|
|
|
'vendor/bower_components/messenger/build/js/messenger.js',
|
|
|
|
'vendor/bower_components/Sortable/Sortable.js',
|
|
|
|
'vendor/bower_components/livestampjs/livestamp.js',
|
|
|
|
'vendor/bower_components/jquery-minicolors/jquery.minicolors.js',
|
|
|
|
'vendor/bower_components/jquery-serialize-object/jquery.serialize-object.js',
|
|
|
|
'vendor/bower_components/chartjs/Chart.js',
|
2015-08-24 13:41:02 +01:00
|
|
|
'vendor/bower_components/jquery-sparkline/dist/jquery.sparkline.js',
|
2015-10-01 23:25:08 +02:00
|
|
|
'vendor/bower_components/sweetalert/dist/sweetalert.min.js',
|
2015-10-02 18:36:02 +02:00
|
|
|
'resources/assets/js/password-strength.js',
|
2015-03-20 18:30:45 -06:00
|
|
|
'resources/assets/js/app.js',
|
|
|
|
'resources/assets/js/**/*.js'
|
|
|
|
], 'public/dist/js/all.js', './')
|
2015-02-21 01:36:01 -06:00
|
|
|
.version(['public/dist/css/all.css', 'public/dist/js/all.js'])
|
2015-06-19 11:47:38 +01:00
|
|
|
.copy('vendor/bower_components/ionicons/fonts/', 'public/fonts/');
|
2014-12-05 13:38:07 +00:00
|
|
|
});
|