Files
lexical/babel.config.js

31 lines
563 B
JavaScript

/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
'use strict';
module.exports = {
plugins: [
[
require('./scripts/error-codes/transform-error-messages'),
{noMinify: true},
],
],
presets: [
[
'@babel/preset-env',
{
targets: {
node: 'current',
},
},
],
['@babel/preset-react', {runtime: 'automatic'}],
'@babel/preset-flow',
],
};