Treeshaking on publish?

I’m just looking at the published output and I’m seeing a lot of stuff included that isn’t used in the project (namely lots of scripts), as well as some CSS that also isn’t used.

I’m assuming any optimization work will come much later, but are the plans to ‘treeshake’ a project on publish to try and eliminate (as much as possible) unnecessary files and code?

2 Likes

Yup, we’re aware of this and it’s exactly what we plan to do :muscle:

2 Likes