Home

Issue: 1118

how to use babel-polyfill for entry

[issue link]

0a950f6533750183a25404e457b0f77f
why i have to add babel-polyfill,my pc application only work in chrome and firefox,other like qq browser cannot load.i found that js file have a error,and some es6 still exist, my config is

 build: {
    babel: {
      presets: ['es2015', 'stage-2'],
      'plugins': ['transform-runtime']
    },
    extractCSS: true,
    vendor: [
      'babel-polyfill',
      'eventsource-polyfill',
      'swiper',
      'axios'
    ]}

but after build i found nothing have change, tell my the right way,my application will online soon,i need your help really, thx

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