nav tabs on admin dashboard

This commit is contained in:
2019-03-07 00:20:34 -06:00
parent f73d6ae228
commit e4f473f376
11661 changed files with 216240 additions and 1544253 deletions

View File

@@ -1,3 +1,5 @@
let Log = require('../Log');
class CustomTasksPlugin {
/**
* Apply the plugin.
@@ -48,7 +50,10 @@ class CustomTasksPlugin {
*/
minifyAssets() {
let tasks = Mix.tasks.filter(task => {
return task.constructor.name !== 'VersionFilesTask' && task.constructor.name !== 'CopyFilesTask';
return (
task.constructor.name !== 'VersionFilesTask' &&
task.constructor.name !== 'CopyFilesTask'
);
});
tasks.forEach(task => {
@@ -56,7 +61,7 @@ class CustomTasksPlugin {
try {
asset.minify();
} catch (e) {
console.log(
Log.error(
`Whoops! We had trouble minifying "${asset.relativePath()}". ` +
`Perhaps you need to use mix.babel() instead?`
);