Skip to content

Reduce bundle size #4

Description

@bwasty

The size of bundle.js is quite large with 884kB. In my version I've managed to reduce the size to 129KB in release mode, but the config is not very nice:
https://github.com/bwasty/rust-wasm-webpack-template/blob/f0d3cf5437333700baf18f46f825594e9105271c/webpack.config.js#L33-L85

I don't fully understand how all those dependencies are pulled in - do you have an idea how to do this better?

Note: I'd have opened this on rust-wasm-loader, but the issue tracker is switched off.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions