mirror of
https://github.com/zenorocha/clipboard.js.git
synced 2023-08-10 21:12:48 +03:00
Set babel-preset-env into UglifyJS compatability mode
This commit is contained in:
parent
3522504d34
commit
6802a86f60
6
.babelrc
6
.babelrc
@ -1,3 +1,7 @@
|
|||||||
{
|
{
|
||||||
"presets": ["env"]
|
"presets": [["env", {
|
||||||
|
"targets": {
|
||||||
|
"uglify": true
|
||||||
|
}
|
||||||
|
}]]
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-core": "^6.26.0",
|
"babel-core": "^6.26.0",
|
||||||
"babel-loader": "^7.1.4",
|
"babel-loader": "^7.1.4",
|
||||||
"babel-preset-env": "^1.6.1",
|
"babel-preset-env": "^1.7.0",
|
||||||
"chai": "^4.2.0",
|
"chai": "^4.2.0",
|
||||||
"cross-env": "^5.2.0",
|
"cross-env": "^5.2.0",
|
||||||
"karma": "^3.1.1",
|
"karma": "^3.1.1",
|
||||||
@ -41,9 +41,5 @@
|
|||||||
"build-watch": "webpack --watch",
|
"build-watch": "webpack --watch",
|
||||||
"test": "karma start --single-run",
|
"test": "karma start --single-run",
|
||||||
"prepublish": "npm run build"
|
"prepublish": "npm run build"
|
||||||
},
|
}
|
||||||
"browserslist": [
|
|
||||||
"> 1%",
|
|
||||||
"last 2 versions"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user