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({
|
rollupBabel(Object.assign({
|
||||||
exclude: 'node_modules/**',
|
exclude: 'node_modules/**',
|
||||||
plugins: [
|
plugins: [
|
||||||
['transform-runtime', { 'helpers': false, 'polyfill': false }],
|
'array-includes'
|
||||||
'transform-async-to-generator',
|
|
||||||
'array-includes',
|
|
||||||
'external-helpers'
|
|
||||||
],
|
],
|
||||||
presets: [
|
presets: [
|
||||||
['env', {
|
['env', {
|
||||||
targets: {
|
targets: {
|
||||||
node: '6.11.0'
|
node: '8.0.0'
|
||||||
},
|
},
|
||||||
modules: false
|
modules: false
|
||||||
}]
|
}]
|
||||||
|
Loading…
Reference in New Issue
Block a user