Static GitHub Issues

[1118] how to use babel-polyfill for entry

prev: Come back to nuxt-view and nuxt-child
next: hyphen in script causes error

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

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c985">#c985</a>)</em></sub></div>