mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
target SSR bundle to current node version for legacy build support
This commit is contained in:
parent
3d2a7b29d1
commit
35ee689473
@ -34,7 +34,7 @@ export default class WebpackBaseConfig {
|
|||||||
[
|
[
|
||||||
this.builder.nuxt.resolvePath('babel-preset-vue-app'),
|
this.builder.nuxt.resolvePath('babel-preset-vue-app'),
|
||||||
{
|
{
|
||||||
targets: this.isServer ? { node: '8.0.0' } : { ie: 9, uglify: true }
|
targets: this.isServer ? { node: 'current' } : { ie: 9, uglify: true }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user