cordis-lib / cordis

Modular, micro-service based Discord API wrapper written in TS.
https://cordis.js.org
Other
29 stars 1 forks source link

Use a bundler to reduce gateway image size #63

Closed didinele closed 3 years ago

didinele commented 3 years ago

Is your feature request related to a problem? Please describe. With #24 (0.1.6) the size of the gateway service has been reduced significantly but it still feels fairly large.

Describe the ideal solution I feel like this could be pushed further significantly by using a bundler such as rollup, snowpack or webpack.

Describe alternatives you've considered Leaving it as is, I suppose, but I believe the size optimization is worth it.

didinele commented 3 years ago

Decided against this since under 100MBs is already like, fairly damn good for nodejs.