From c83677f8aac78b30662d0e74ad054aed9794b6ca Mon Sep 17 00:00:00 2001 From: Jacob Rask Date: Mon, 18 Feb 2019 17:09:20 +0100 Subject: [PATCH 1/2] Use target ES5 to enable IE11 compatibility --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 6c56125..eb27971 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es2018", + "target": "es5", "module": "commonjs", "moduleResolution": "node", "jsx": "react", From 067d57522373b3c280016fa2afa77c515bc5b4df Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 18 Feb 2019 16:25:58 +0000 Subject: [PATCH 2/2] chore(release): 1.2.0 [skip ci] # [1.2.0](https://github.com/streamich/use-media/compare/v1.1.0...v1.2.0) (2019-02-18) ### Features * transpile down to ES5 ([c389ab8](https://github.com/streamich/use-media/commit/c389ab8)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9606c4c..0d4e554 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [1.2.0](https://github.com/streamich/use-media/compare/v1.1.0...v1.2.0) (2019-02-18) + + +### Features + +* transpile down to ES5 ([c389ab8](https://github.com/streamich/use-media/commit/c389ab8)) + # [1.1.0](https://github.com/streamich/use-media/compare/v1.0.0...v1.1.0) (2019-02-10) diff --git a/package.json b/package.json index cf316ec..b56b127 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "use-media", - "version": "1.1.0", + "version": "1.2.0", "description": "useMedia React hook", "main": "lib/index.js", "files": [