mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
perf: minimize core transpilations
This commit is contained in:
parent
36ceb1b334
commit
e010114014
@ -75,15 +75,12 @@ function genConfig(opts) {
|
||||
rollupBabel(Object.assign({
|
||||
exclude: 'node_modules/**',
|
||||
plugins: [
|
||||
['transform-runtime', { 'helpers': false, 'polyfill': false }],
|
||||
'transform-async-to-generator',
|
||||
'array-includes',
|
||||
'external-helpers'
|
||||
'array-includes'
|
||||
],
|
||||
presets: [
|
||||
['env', {
|
||||
targets: {
|
||||
node: '6.11.0'
|
||||
node: '8.0.0'
|
||||
},
|
||||
modules: false
|
||||
}]
|
||||
|
Loading…
Reference in New Issue
Block a user