summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.babelrc10
-rw-r--r--.babelrc.js (renamed from apps/settings/.babelrc.js)6
-rw-r--r--apps/accessibility/.babelrc.js12
-rw-r--r--apps/files_sharing/.babelrc.js13
-rw-r--r--apps/updatenotification/.babelrc.js12
-rw-r--r--build/files-checker.php2
6 files changed, 3 insertions, 52 deletions
diff --git a/.babelrc b/.babelrc
deleted file mode 100644
index 9da67dbe307..00000000000
--- a/.babelrc
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "presets": [
- [
- "@babel/preset-env",
- {
- "modules": false
- }
- ]
- ]
-}
diff --git a/apps/settings/.babelrc.js b/.babelrc.js
index a1690d0d862..5cfbddd7a0a 100644
--- a/apps/settings/.babelrc.js
+++ b/.babelrc.js
@@ -4,10 +4,8 @@ module.exports = {
[
'@babel/preset-env',
{
- targets: {
- browsers: ['last 2 versions', 'ie >= 11']
- }
+ modules: false
}
]
]
-}
+};
diff --git a/apps/accessibility/.babelrc.js b/apps/accessibility/.babelrc.js
deleted file mode 100644
index 21cf7022fd3..00000000000
--- a/apps/accessibility/.babelrc.js
+++ /dev/null
@@ -1,12 +0,0 @@
-module.exports = {
- presets: [
- [
- '@babel/preset-env',
- {
- targets: {
- browsers: ['last 2 versions', 'ie >= 11']
- }
- }
- ]
- ]
-}
diff --git a/apps/files_sharing/.babelrc.js b/apps/files_sharing/.babelrc.js
deleted file mode 100644
index 137b266162e..00000000000
--- a/apps/files_sharing/.babelrc.js
+++ /dev/null
@@ -1,13 +0,0 @@
-module.exports = {
- presets: [
- [
- '@babel/preset-env',
- {
- targets: {
- browsers: ['last 2 versions', 'ie >= 11']
- }
- }
- ]
- ],
- plugins: ['@babel/plugin-syntax-dynamic-import']
-}
diff --git a/apps/updatenotification/.babelrc.js b/apps/updatenotification/.babelrc.js
deleted file mode 100644
index 21cf7022fd3..00000000000
--- a/apps/updatenotification/.babelrc.js
+++ /dev/null
@@ -1,12 +0,0 @@
-module.exports = {
- presets: [
- [
- '@babel/preset-env',
- {
- targets: {
- browsers: ['last 2 versions', 'ie >= 11']
- }
- }
- ]
- ]
-}
diff --git a/build/files-checker.php b/build/files-checker.php
index 81b76d42cd0..a6a71e149eb 100644
--- a/build/files-checker.php
+++ b/build/files-checker.php
@@ -22,7 +22,7 @@
$expectedFiles = [
'.',
'..',
- '.babelrc',
+ '.babelrc.js',
'.codecov.yml',
'.drone.yml',
'.eslintrc.js',