Next: babelrcjson, Up: Configuration [Index]
Create a file called babel.config.json
with the following content at the root
of your project (where the package.json
is).
// json { "presets": [...], "plugins": [...] } // js module.exports = function (api) { api.cache(true); const presets = [ ... ]; const plugins = [ ... ]; return { presets, plugins }; }