From abe9705d8621d467bb1a9a6c496c78415fd6c4cb Mon Sep 17 00:00:00 2001 From: Rudis Muiznieks Date: Thu, 16 May 2019 23:02:27 -0500 Subject: [PATCH] only including needed core-js function --- src/main.ts | 2 +- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 96e352d..56081ae 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,2 +1,2 @@ -require('core-js'); +import 'core-js/es/object/entries'; module.exports = require('./Player.js').Player; diff --git a/tsconfig.json b/tsconfig.json index df28dd6..8ec41c1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "target": "es5", - "lib": ["es2017", "dom"], + "lib": ["es2017.object", "dom"], "module": "commonjs", "moduleResolution": "node", "baseUrl": "./src",