# 配置
# babel.config.js
module.exports = function(api) {
return {
presets: [],
plugins: []
};
}
1
2
3
4
5
6
2
3
4
5
6
# .babelrc
{
"presets": [],
"plugins": []
}
1
2
3
4
2
3
4
# package.json
{
"babel": {
"presets": [],
"plugins": []
}
}
1
2
3
4
5
6
2
3
4
5
6
← 扩展