diff --git a/package.json b/package.json index 03513f812..a4b1e872a 100644 --- a/package.json +++ b/package.json @@ -75,8 +75,5 @@ "commitizen": { "path": "./node_modules/cz-conventional-changelog" } - }, - "sideEffects": [ - "./src/resources/Enums.ts" - ] + } } diff --git a/src/PlatformClient.ts b/src/PlatformClient.ts index aa81397c1..8aa7df0c1 100644 --- a/src/PlatformClient.ts +++ b/src/PlatformClient.ts @@ -1,5 +1,3 @@ -import './resources/Enums'; - import API from './APICore'; import {APIConfiguration, PlatformClientOptions} from './ConfigurationInterfaces'; import {HostUndefinedError} from './Errors'; diff --git a/webpack.config.js b/webpack.config.js index 6f8d6d50e..df10f7446 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -6,7 +6,7 @@ module.exports = (env, argv) => { const production = argv.mode === 'production'; return { - entry: './src/PlatformClient.ts', + entry: './src/Entry.ts', devtool: production ? 'source-map' : 'inline-source-map', output: { filename: 'index.js',