diff --git a/.babelrc.js b/.babelrc.js index 6da4fe2a..21be3454 100644 --- a/.babelrc.js +++ b/.babelrc.js @@ -5,12 +5,7 @@ module.exports = { ], presets: [ [ - '@babel/preset-env', - { - targets: { - browsers: ['last 2 versions', 'ie >= 11'] - } - } + '@babel/preset-env' ] ] } diff --git a/package-lock.json b/package-lock.json index 47ed6c02..72910b26 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3696,6 +3696,12 @@ "node-releases": "^1.1.23" } }, + "browserslist-config-nextcloud": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/browserslist-config-nextcloud/-/browserslist-config-nextcloud-0.0.1.tgz", + "integrity": "sha512-BUpPPPfE42jL2puSqfnsoOMoz6g+jqznoaoZmig4Kx1ULApBmM6iH+/7V1yblQz2PsOp39HET1byAB3h3h+kew==", + "dev": true + }, "bser": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/bser/-/bser-2.0.0.tgz", diff --git a/package.json b/package.json index 9fb09fd9..dd6951dc 100644 --- a/package.json +++ b/package.json @@ -57,6 +57,7 @@ "babel-eslint": "^10.0.3", "babel-jest": "^24.9.0", "babel-loader": "^8.0.6", + "browserslist-config-nextcloud": "0.0.1", "css-loader": "^3.2.0", "eslint": "^6.3.0", "eslint-config-standard": "^14.1.0", @@ -72,8 +73,8 @@ "jest-serializer-vue": "^2.0.2", "jsdom": "^15.1.1", "jsdom-global": "^3.0.2", - "node-sass": "^4.12.0", "moment": "^2.24.0", + "node-sass": "^4.12.0", "prettier-eslint": "^9.0.0", "raw-loader": "^3.1.0", "sass-loader": "^8.0.0", @@ -122,5 +123,8 @@ "lcov", "clover" ] - } + }, + "browserslist": [ + "extends browserslist-config-nextcloud" + ] }