Skip to content

Commit

Permalink
update to bel-preset-env as es2015 is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartsch committed Feb 5, 2020
1 parent a1f8c0d commit 81e0bb8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
{
"presets": [
[
"es2015",
"env",
{
"modules": false
// "targets": {
// "chrome": "60"
// }
}
]
],
"plugins": [
"transform-object-assign"
]
}
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lazyframe",
"version": "1.1.7",
"version": "1.1.8",
"description": "Dependency-free library for lazyloading iframes",
"main": "dist/lazyframe.min.js",
"jsnext:main": "src/lazyframe.js",
Expand Down Expand Up @@ -28,6 +28,7 @@
"homepage": "https://vb.github.io/lazyframe",
"devDependencies": {
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"gulp": "^4.0.0",
"gulp-sass": "^4.0.2",
Expand Down

0 comments on commit 81e0bb8

Please sign in to comment.