Previous: , Up: Configuration   [Index]


3.4.5.4 JavaScript configuration files

You can also write babel.config.json and .babelrc.json files using JavaScript:

const presets = [ ... ];
const plugins = [ ... ];

module.exports = { presets, plugins };