wepy-compiler-babel
v1.5.3
Published
wepy compile babel
Downloads
169
Readme
wepy babel 编译器
安装
npm install wepy-compiler-babel --save-dev
配置wepy.config.js
module.exports = {
"compilers": {
babel: {
'presets': [
'es2015',
'stage-1'
],
'plugins': [
'transform-export-extensions',
'syntax-export-extensions',
'transform-runtime'
]
}
}
};