nav tabs on admin dashboard
This commit is contained in:
16
node_modules/laravel-mix/src/Api.js
generated
vendored
16
node_modules/laravel-mix/src/Api.js
generated
vendored
@@ -1,4 +1,3 @@
|
||||
let Assert = require('./Assert');
|
||||
let webpack = require('webpack');
|
||||
let path = require('path');
|
||||
|
||||
@@ -6,12 +5,19 @@ class Api {
|
||||
/**
|
||||
* Enable sourcemap support.
|
||||
*
|
||||
* @param {Boolean} productionToo
|
||||
* @param {string} type
|
||||
* @param {Boolean} generateForProduction
|
||||
* @param {string} devType
|
||||
* @param {string} productionType
|
||||
*/
|
||||
sourceMaps(productionToo = true, type = 'eval-source-map') {
|
||||
sourceMaps(
|
||||
generateForProduction = true,
|
||||
devType = 'eval-source-map',
|
||||
productionType = 'source-map'
|
||||
) {
|
||||
let type = devType;
|
||||
|
||||
if (Mix.inProduction()) {
|
||||
type = productionToo ? 'source-map' : false;
|
||||
type = generateForProduction ? productionType : false;
|
||||
}
|
||||
|
||||
Config.sourcemaps = type;
|
||||
|
||||
Reference in New Issue
Block a user