Merge pull request #15988 from nextcloud/feature/shared-browserlist-config

Use shared browserslist config
This commit is contained in:
Georg Ehrke 2019-06-19 12:59:31 +00:00 committed by GitHub
commit b25838e157
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 20 additions and 16 deletions

View File

@ -3,13 +3,7 @@
[ [
"@babel/preset-env", "@babel/preset-env",
{ {
"modules": false, "modules": false
"targets": {
"browsers": [
"last 2 versions",
"ie >= 11"
]
}
} }
] ]
] ]

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

8
package-lock.json generated
View File

@ -1811,6 +1811,12 @@
"node-releases": "^1.1.19" "node-releases": "^1.1.19"
} }
}, },
"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
},
"buffer": { "buffer": {
"version": "4.9.1", "version": "4.9.1",
"resolved": "http://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", "resolved": "http://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz",
@ -4778,7 +4784,7 @@
}, },
"minimist": { "minimist": {
"version": "0.0.8", "version": "0.0.8",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0="
}, },
"mississippi": { "mississippi": {

View File

@ -67,6 +67,7 @@
"@babel/preset-env": "^7.4.5", "@babel/preset-env": "^7.4.5",
"babel-loader": "^8.0.6", "babel-loader": "^8.0.6",
"babel-plugin-transform-es2015-arrow-functions": "^6.22.0", "babel-plugin-transform-es2015-arrow-functions": "^6.22.0",
"browserslist-config-nextcloud": "0.0.1",
"css-loader": "^2.1.1", "css-loader": "^2.1.1",
"exports-loader": "^0.7.0", "exports-loader": "^0.7.0",
"file-loader": "^4.0.0", "file-loader": "^4.0.0",
@ -80,5 +81,8 @@
"webpack": "^4.34.0", "webpack": "^4.34.0",
"webpack-cli": "^3.3.3", "webpack-cli": "^3.3.3",
"webpack-merge": "^4.2.1" "webpack-merge": "^4.2.1"
} },
"browserslist": [
"extends browserslist-config-nextcloud"
]
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long