mirror of
https://github.com/thelounge/thelounge
synced 2024-11-22 12:03:11 +00:00
Use babel-preset-env
This commit is contained in:
parent
98e3bd0ca2
commit
2cfc9119cb
2 changed files with 6 additions and 2 deletions
|
@ -61,7 +61,7 @@
|
|||
"devDependencies": {
|
||||
"babel-core": "6.24.1",
|
||||
"babel-loader": "7.0.0",
|
||||
"babel-preset-es2015": "6.24.1",
|
||||
"babel-preset-env": "1.4.0",
|
||||
"chai": "3.5.0",
|
||||
"eslint": "3.19.0",
|
||||
"font-awesome": "4.7.0",
|
||||
|
|
|
@ -37,7 +37,11 @@ let config = {
|
|||
loader: "babel-loader",
|
||||
options: {
|
||||
presets: [
|
||||
"es2015"
|
||||
["env", {
|
||||
targets: {
|
||||
browsers: "last 2 versions"
|
||||
}
|
||||
}]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue