Permalink
vikr01
workflow: upgraded to babel 7 (#8948)
12e8efc
Oct 24, 2018
Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upconst babelPresetFlowVue = { | |
plugins: [ | |
require('@babel/plugin-proposal-class-properties'), | |
// require('@babel/plugin-syntax-flow'), // not needed, included in transform-flow-strip-types | |
require('@babel/plugin-transform-flow-strip-types') | |
] | |
} | |
module.exports = { | |
presets: [ | |
require('@babel/preset-env'), | |
// require('babel-preset-flow-vue') | |
babelPresetFlowVue | |
], | |
plugins: [ | |
require('babel-plugin-transform-vue-jsx'), | |
require('@babel/plugin-syntax-dynamic-import') | |
], | |
ignore: [ | |
'dist/*.js', | |
'packages/**/*.js' | |
] | |
} |