aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/.babelrc
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/.babelrc')
-rw-r--r--server/sonar-web/.babelrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/sonar-web/.babelrc b/server/sonar-web/.babelrc
index 3f2673a82bd..2962b9304d5 100644
--- a/server/sonar-web/.babelrc
+++ b/server/sonar-web/.babelrc
@@ -25,11 +25,13 @@
"env": {
"production": {
"plugins": [
+ "syntax-dynamic-import",
"transform-react-constant-elements"
]
},
"development": {
"plugins": [
+ "syntax-dynamic-import",
"transform-react-jsx-source",
"transform-react-jsx-self"
]
@@ -37,6 +39,7 @@
"test": {
"plugins": [
"transform-es2015-modules-commonjs",
+ "dynamic-import-node",
"transform-react-jsx-source",
"transform-react-jsx-self"
]