From 35f3871e4079bb08444f6d62344c4f7760db8cc5 Mon Sep 17 00:00:00 2001 From: pedrorvc Date: Tue, 19 Jan 2021 16:32:24 +0000 Subject: [PATCH] Added babel rules for bundling. --- .babelrc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .babelrc diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..58987e4 --- /dev/null +++ b/.babelrc @@ -0,0 +1,10 @@ +{ + "presets": [ + "@babel/preset-env", + "@babel/preset-react" + ], + "plugins": [ + "@babel/plugin-proposal-class-properties", + "@babel/plugin-proposal-object-rest-spread" + ] +} \ No newline at end of file