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",