mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
minor
This commit is contained in:
parent
e8e08d7176
commit
87d8f1307e
1 changed files with 11 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue