aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/.babelrc
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-04 00:18:50 +0800
committercrupest <crupest@outlook.com>2020-06-04 00:18:50 +0800
commit3aa87cc26fd58836b82c067b58a47e08e30a7784 (patch)
treeba9cf1918d210896ab10bed484a8ddf7c7935e0c /Timeline/ClientApp/.babelrc
parent1e90a93049cd57098608de72f02bfaabfadd32b6 (diff)
downloadtimeline-3aa87cc26fd58836b82c067b58a47e08e30a7784.tar.gz
timeline-3aa87cc26fd58836b82c067b58a47e08e30a7784.tar.bz2
timeline-3aa87cc26fd58836b82c067b58a47e08e30a7784.zip
refactor(front): Make codes lint-clean!
Diffstat (limited to 'Timeline/ClientApp/.babelrc')
-rw-r--r--Timeline/ClientApp/.babelrc9
1 files changed, 9 insertions, 0 deletions
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