From f0ad8c4d50c1452c9cfe08020cbd40e1dab15669 Mon Sep 17 00:00:00 2001 From: Liad Yosef Date: Thu, 28 Nov 2019 10:32:30 +0200 Subject: [PATCH 1/3] Transpile to ES5 Default transpilation to ES5 --- .babelrc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.babelrc b/.babelrc index ccaf2b6..4f06b0c 100644 --- a/.babelrc +++ b/.babelrc @@ -1,13 +1,6 @@ { "presets": [ - [ - "@babel/preset-env", - { - "targets": { - "browsers": ["last 2 Chrome versions", "last 2 Firefox versions"] - } - } - ], + "@babel/preset-env", "@babel/preset-react" ] } From fa890b84bd625d8eaba67617834b3b16b3b5c29e Mon Sep 17 00:00:00 2001 From: Liad Yosef Date: Thu, 28 Nov 2019 14:20:50 +0200 Subject: [PATCH 2/3] fix(build): transpile to all envs --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index f0ba21c..4f49975 100644 --- a/README.md +++ b/README.md @@ -50,3 +50,7 @@ class MyComponent extends React.Component { ## Live demo https://codesandbox.io/s/use-draggable-demo-tiu3w + +## Contribute +PRs are welcomed! +Note - when opening a PR, make sure the last commit message abides [commitizen guidelines](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines). From 15427dfb6f66f354373fce83e405769d2650799b Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 28 Nov 2019 12:48:03 +0000 Subject: [PATCH 3/3] chore(release): 1.4.1 [skip ci] ## [1.4.1](https://github.com/idanen/react-draggable/compare/v1.4.0...v1.4.1) (2019-11-28) ### Bug Fixes * **build:** transpile to all envs ([fa890b8](https://github.com/idanen/react-draggable/commit/fa890b84bd625d8eaba67617834b3b16b3b5c29e)) --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index df62a08..5f588bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.4.1](https://github.com/idanen/react-draggable/compare/v1.4.0...v1.4.1) (2019-11-28) + + +### Bug Fixes + +* **build:** transpile to all envs ([fa890b8](https://github.com/idanen/react-draggable/commit/fa890b84bd625d8eaba67617834b3b16b3b5c29e)) + # [1.4.0](https://github.com/idanen/react-draggable/compare/v1.3.0...v1.4.0) (2019-10-24)