Skip to content

Commit

Permalink
fix(webpack): use the Entry.ts file as webpack entry
Browse files Browse the repository at this point in the history
  • Loading branch information
gdostie committed Dec 6, 2019
1 parent d80656b commit bdb7b90
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,5 @@
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"sideEffects": [
"./src/resources/Enums.ts"
]
}
}
2 changes: 0 additions & 2 deletions src/PlatformClient.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import './resources/Enums';

import API from './APICore';
import {APIConfiguration, PlatformClientOptions} from './ConfigurationInterfaces';
import {HostUndefinedError} from './Errors';
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit bdb7b90

Please sign in to comment.