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/.babelrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-web/.babelrc b/server/sonar-web/.babelrc
index 0c0ba456b83..3f2673a82bd 100644
--- a/server/sonar-web/.babelrc
+++ b/server/sonar-web/.babelrc
@@ -1,6 +1,7 @@
{
"presets": [
["env", {
+ "modules": false,
"targets": {
"browsers": [
"last 3 Chrome versions",
@@ -35,6 +36,7 @@
},
"test": {
"plugins": [
+ "transform-es2015-modules-commonjs",
"transform-react-jsx-source",
"transform-react-jsx-self"
]