mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Enable ES6 support for all tools
This commit is contained in:
parent
34a5578679
commit
0a0fe15b26
3 changed files with 13 additions and 4 deletions
|
@ -3,6 +3,12 @@ env:
|
|||
browser: true
|
||||
amd: true
|
||||
|
||||
parserOptions:
|
||||
ecmaVersion: 6
|
||||
sourceType: module
|
||||
ecmaFeatures:
|
||||
impliedStrict: true
|
||||
|
||||
globals:
|
||||
# New browser globals
|
||||
DataView: readonly
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"devDependencies": {
|
||||
"@babel/core": "^7.8.6",
|
||||
"@babel/polyfill": "^7.8.7",
|
||||
"@babel/plugin-transform-modules-amd": "^7.8.3",
|
||||
"@babel/preset-env": "^7.8.6",
|
||||
"autoprefixer": "^9.7.4",
|
||||
"babel-loader": "^8.0.6",
|
||||
|
@ -69,9 +70,11 @@
|
|||
"whatwg-fetch": "^3.0.0"
|
||||
},
|
||||
"babel": {
|
||||
"presets": [
|
||||
"@babel/preset-env"
|
||||
]
|
||||
"presets": ["@babel/preset-env"],
|
||||
"overrides": [{
|
||||
"test": ["src/components/cardbuilder/cardBuilder.js"],
|
||||
"plugins": ["@babel/plugin-transform-modules-amd"]
|
||||
}]
|
||||
},
|
||||
"browserslist": [
|
||||
"last 2 Firefox versions",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue