only including needed core-js function

This commit is contained in:
Rudis Muiznieks 2019-05-16 23:02:27 -05:00
parent dda30edad7
commit abe9705d86
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
require('core-js'); import 'core-js/es/object/entries';
module.exports = require('./Player.js').Player; module.exports = require('./Player.js').Player;

View File

@ -1,7 +1,7 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "es5", "target": "es5",
"lib": ["es2017", "dom"], "lib": ["es2017.object", "dom"],
"module": "commonjs", "module": "commonjs",
"moduleResolution": "node", "moduleResolution": "node",
"baseUrl": "./src", "baseUrl": "./src",