Use minified assets too. Closes #2258
Combine didn't improve the situation for us
This commit is contained in:
+12
-12
@@ -14,20 +14,20 @@ elixir((mix) => {
|
||||
.sass('dashboard.scss', 'public/dist/css/dashboard.css')
|
||||
.sass('app.scss', 'public/dist/css/app.css')
|
||||
.scripts([
|
||||
'node_modules/jquery/dist/jquery.js',
|
||||
'node_modules/bootstrap-sass/assets/javascripts/bootstrap.js',
|
||||
'node_modules/moment/min/moment-with-locales.js',
|
||||
'node_modules/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js',
|
||||
'node_modules/lodash/lodash.js',
|
||||
'node_modules/autosize/dist/autosize.js',
|
||||
'node_modules/messenger/build/js/messenger.js',
|
||||
'node_modules/sortablejs/Sortable.js',
|
||||
'node_modules/jquery/dist/jquery.min.js',
|
||||
'node_modules/bootstrap-sass/assets/javascripts/bootstrap.min.js',
|
||||
'node_modules/moment/min/moment-with-locales.min.js',
|
||||
'node_modules/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js',
|
||||
'node_modules/lodash/lodash.min.js',
|
||||
'node_modules/autosize/dist/autosize.min.js',
|
||||
'node_modules/messenger/build/js/messenger.min.js',
|
||||
'node_modules/sortablejs/Sortable.min.js',
|
||||
'node_modules/jquery-minicolors/jquery.minicolors.min.js',
|
||||
'node_modules/chart.js/dist/Chart.min.js',
|
||||
'node_modules/jquery-sparkline/jquery.sparkline.min.js',
|
||||
'node_modules/sweetalert2/dist/sweetalert2.min.js',
|
||||
'node_modules/livestamp/livestamp.js',
|
||||
'node_modules/jquery-minicolors/jquery.minicolors.js',
|
||||
'node_modules/jquery-serializeobject/jquery.serializeObject.js',
|
||||
'node_modules/chart.js/dist/Chart.js',
|
||||
'node_modules/jquery-sparkline/jquery.sparkline.js',
|
||||
'node_modules/sweetalert2/dist/sweetalert2.js',
|
||||
'resources/assets/js/password-strength.js',
|
||||
'resources/assets/js/app.js',
|
||||
'resources/assets/js/**/*.js'
|
||||
|
||||
+22
File diff suppressed because one or more lines are too long
-22
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"dist/css/app.css": "dist/css/app-2e810c16a9.css",
|
||||
"dist/css/dashboard.css": "dist/css/dashboard-bce5e0b203.css",
|
||||
"dist/js/all.js": "dist/js/all-cf55758af2.js"
|
||||
"dist/js/all.js": "dist/js/all-74bb70763d.js"
|
||||
}
|
||||
@@ -384,9 +384,8 @@ $(function() {
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
function askConfirmation(callback, cancelCallback) {
|
||||
function askConfirmation(callback, cancelCallback) {
|
||||
swal({
|
||||
type: "warning",
|
||||
title: "Confirm your action",
|
||||
@@ -403,4 +402,6 @@ function askConfirmation(callback, cancelCallback) {
|
||||
}, function () {
|
||||
if (_.isFunction(cancelCallback)) cancelCallback();
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user