网页 综合 更新时间 2026-11-13 17:18:42

Babel

自动蜘蛛 babeljs.io 正文约 369 字
How to use Babel with your tool of choice.
Great! You've configured Babel but you haven't made it actually do anything. Create a babel.config.json config in your project root and enable some presets.
To start, you can use the env preset, which enables transforms for ES2015+
In order to enable the preset you have to define it in your babel.config.json file, like this:
访问原文 返回搜索 https://babeljs.io/setup
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。