Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 356 Bytes

babel.md

File metadata and controls

21 lines (17 loc) · 356 Bytes

Babel

This default settings for babel-loader in Vuepack:

{
  babelrc: false,
  presets: [
    ['es2015', {modules: false}],
    'stage-1'
  ],
  plugins: [
    'transform-vue-jsx',
    'transform-runtime'
  ]
}

Which means you can use all ES2015 and ESnext stage-1 features, and Vue JSX support.

You can update it in ./build/config.js.