Home

Issue: 804

i have exclude node_modules,but not exclude vendor

[issue link]

i had set the nuxt.config.js like this
2017-05-29 1 02 10
but when i run build ,i got the error that
ERROR in vendor.bundle.6cf639c819d39b419cb8.js from UglifyJs
Unexpected token: name (swiperPlugins) [./~/gz-vue/src/components/gz-swiper/index.js:5,0][vendor.bundle.6cf639c819d39b419cb8.js:12668,4]
i know the reason that components/gz-swiper have the syntax es6,but i am confused the config of nuxt i only set axios in the vendor,why my components are still be builted in vendor.bundle, how to config nuxt.config.js.
please tell my why, i am crazy now ,my god

This question is available on Nuxt.js community (#c688)