mirror of
https://framagit.org/les/gancio.git
synced 2025-02-01 00:52:01 +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 configuration
|
||||||
*/
|
*/
|
||||||
build: {
|
build: {
|
||||||
presets: ['@nuxt/babel-preset-app', {
|
|
||||||
useBuiltIns: 'usage', // or "entry"
|
|
||||||
corejs: 3
|
|
||||||
}],
|
|
||||||
babel: {
|
babel: {
|
||||||
|
// envName: server, client, modern
|
||||||
|
presets ({ envName }) {
|
||||||
|
return [
|
||||||
|
[
|
||||||
|
'@nuxt/babel-preset-app',
|
||||||
|
{
|
||||||
|
corejs: { version: 3 }
|
||||||
|
}
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
plugins: [['@babel/plugin-proposal-private-methods', { loose: true }]]
|
plugins: [['@babel/plugin-proposal-private-methods', { loose: true }]]
|
||||||
},
|
},
|
||||||
cache: true
|
cache: true
|
||||||
|
|
Loading…
Reference in a new issue