Verified Commit 87d8f130 authored by les's avatar les
Browse files

minor

parent e8e08d71
......@@ -108,11 +108,18 @@ module.exports = {
** Build configuration
*/
build: {
presets: ['@nuxt/babel-preset-app', {
useBuiltIns: 'usage', // or "entry"
corejs: 3
}],
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
......
Supports Markdown
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