From fccd6b4ca8ed7420f25f0c4298fde311bc1e09d0 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 4 Jun 2020 00:18:50 +0800 Subject: refactor(front): Make codes lint-clean! --- Timeline/ClientApp/.babelrc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Timeline/ClientApp/.babelrc') diff --git a/Timeline/ClientApp/.babelrc b/Timeline/ClientApp/.babelrc index 5a82470b..78d36a3d 100644 --- a/Timeline/ClientApp/.babelrc +++ b/Timeline/ClientApp/.babelrc @@ -14,6 +14,15 @@ { "decoratorsBeforeExport": true } + ], + [ + "babel-plugin-transform-builtin-extend", + { + "globals": [ + "Error", + "Array" + ] + } ] ] } \ No newline at end of file -- cgit v1.2.3