nav tabs on admin dashboard
This commit is contained in:
23
node_modules/laravel-mix/src/builder/webpack-default.js
generated
vendored
23
node_modules/laravel-mix/src/builder/webpack-default.js
generated
vendored
@@ -1,7 +1,12 @@
|
||||
let TerserPlugin = require('terser-webpack-plugin');
|
||||
let OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
|
||||
|
||||
module.exports = function() {
|
||||
return {
|
||||
context: Mix.paths.root(),
|
||||
|
||||
mode: Mix.inProduction() ? 'production' : 'development',
|
||||
|
||||
entry: {},
|
||||
|
||||
output: {},
|
||||
@@ -16,17 +21,33 @@ module.exports = function() {
|
||||
timings: false,
|
||||
children: false,
|
||||
errorDetails: false,
|
||||
entrypoints: false,
|
||||
performance: Mix.inProduction(),
|
||||
chunks: false,
|
||||
modules: false,
|
||||
reasons: false,
|
||||
source: false,
|
||||
publicPath: false
|
||||
publicPath: false,
|
||||
builtAt: false
|
||||
},
|
||||
|
||||
performance: {
|
||||
hints: false
|
||||
},
|
||||
|
||||
optimization: Mix.inProduction()
|
||||
? {
|
||||
minimizer: [
|
||||
new TerserPlugin(Config.terser),
|
||||
new OptimizeCSSAssetsPlugin({
|
||||
cssProcessorPluginOptions: {
|
||||
preset: ['default', Config.cssNano]
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
: {},
|
||||
|
||||
devtool: Config.sourcemaps,
|
||||
|
||||
devServer: {
|
||||
|
||||
Reference in New Issue
Block a user