@atom-web/babel-config
v1.0.1-alpha.0
Published
> description: 用于babel编译(组件、公用包)使用
Downloads
3
Readme
babel-config
description: 用于babel编译(组件、公用包)使用
注意
- 使用@babel/plugin-transform-runtime来做polyfill
- 对于Promise、Set应该是宿主环境就有
- 此配置编译的包,需要宿主包含@babel/runtime
Usage
import babelConfig from '@atom-web/babel-config';