From 4eaae12b5765490cbcab20e17c3932ed536ac88e Mon Sep 17 00:00:00 2001 From: vesapupovci <55283591+vesapupovci@users.noreply.github.com> Date: Fri, 13 Sep 2019 15:28:23 +0200 Subject: [PATCH 1/2] change target to es5 to work on IE https://github.com/jsdevtom/distinct-until-changed-immutable/issues/1 --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 0c8c0b4..58d7bc4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "moduleResolution": "node", - "target": "es6", + "target": "es5", "module": "es2015", "lib": [ "es2015", From c658b984d9cfc86efedb55a5af3c601f087f482d Mon Sep 17 00:00:00 2001 From: vesapupovci <55283591+vesapupovci@users.noreply.github.com> Date: Fri, 13 Sep 2019 15:30:23 +0200 Subject: [PATCH 2/2] change target to es5 to work on IE https://github.com/jsdevtom/distinct-until-changed-immutable/issues/1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d077869..0245613 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "setup": "npm install -g semantic-release-cli && semantic-release-cli setup", "lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'", "prebuild": "rimraf dist", - "build": "tsc --module commonjs && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file src", + "build": "tsc --module commonjs && rollup -c rollup.config.ts && typedoc --out docs --target es5 --theme minimal --mode file src", "start": "rollup -c rollup.config.ts -w", "test": "jest --coverage", "test:watch": "jest --coverage --watch",