Project import generated by Copybara.
GitOrigin-RevId: d9e9e3fb4e31372ec1fb43b178994ca78fa8fe70
diff --git a/.babelrc b/.babelrc
new file mode 100644
index 0000000..a2f61d0
--- /dev/null
+++ b/.babelrc
@@ -0,0 +1,22 @@
+{
+ "presets": [
+ // Includes plugins to use the latest versions of JavaScript.
+ ["@babel/preset-env", { "modules": false }],
+ // Includes multiple plugins used for TypeScript.
+ "@babel/preset-typescript",
+ // Includes multiple plugins used for React.
+ "@babel/preset-react"
+ ],
+ "plugins": [
+ // Allows the use of class properties.
+ "@babel/plugin-proposal-class-properties",
+ // Allows the use of decorators.
+ ["@babel/plugin-proposal-decorators", {"decoratorsBeforeExport": true}],
+ // Allows the use of ES6 spread operators.
+ "@babel/plugin-proposal-object-rest-spread",
+ // Support Webpack's import() feature, which uses Promises.
+ "@babel/plugin-syntax-dynamic-import",
+ // Supports transforming JSX syntax into JavaScript.
+ "@babel/plugin-transform-react-jsx"
+ ]
+}