Verified Commit 2caa8a62 authored by les's avatar les
Browse files

use nuxt-build-optimisations to optimize/cache webpack build

parent 503370bf
......@@ -94,6 +94,7 @@ module.exports = {
},
buildModules: [
'nuxt-build-optimisations',
'@nuxtjs/vuetify'
],
vuetify: {
......@@ -103,24 +104,4 @@ module.exports = {
/* module options */
},
/*
** Build configuration
*/
build: {
babel: {
// envName: server, client, modern
presets ({ envName }) {
return [
[
'@nuxt/babel-preset-app',
{
corejs: { version: 3 }
}
]
]
},
plugins: [['@babel/plugin-proposal-private-methods', { loose: true }]]
},
cache: true
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment