MovieCast / desktop

MovieCast Desktop - The Application of MovieCast
https://moviecast.io
MIT License
10 stars 1 forks source link

[Core] Fix Tree Shaking for a smaller bundle size #8

Closed paulhobbel closed 5 years ago

paulhobbel commented 6 years ago

Description

Webpack has an awesome feature called tree shaking. Tree Shaking basicly just cleans up the code by removing unused code, which will allow smaller bundle sizes.

This feature should work by default, but because we are using Babel, webpack wont get direct access to the imports and thus can not remove unnecessary code. The following article gives an example on how to fix this issue.

paulhobbel commented 5 years ago

Closing old issues of v0.1.2 and below