From 05ccb4d8f1bbe3fb64e117136b4a89bcfb0b0b33 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 27 Oct 2020 19:21:35 +0800 Subject: Split front and back end. --- FrontEnd/.babelrc | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 FrontEnd/.babelrc (limited to 'FrontEnd/.babelrc') diff --git a/FrontEnd/.babelrc b/FrontEnd/.babelrc new file mode 100644 index 00000000..092f2f73 --- /dev/null +++ b/FrontEnd/.babelrc @@ -0,0 +1,27 @@ +{ + "presets": [ + "@babel/env", + "@babel/preset-react" + ], + "plugins": [ + "@babel/plugin-syntax-dynamic-import", + "@babel/plugin-proposal-class-properties", + "@babel/plugin-proposal-optional-chaining", + "@babel/plugin-proposal-nullish-coalescing-operator", + [ + "@babel/plugin-proposal-decorators", + { + "decoratorsBeforeExport": true + } + ], + [ + "babel-plugin-transform-builtin-extend", + { + "globals": [ + "Error", + "Array" + ] + } + ] + ] +} \ No newline at end of file -- cgit v1.2.3