The hell is tree shaking... TS build Question

Line 11 Imports …/Meshes/meshBuilder is forbidden for tree shaking.

Ok I kinda get that its telling me no… but I want it to be telling me yes… :slight_smile: whats the correct convention to include the stuff needed to use MeshBuilder.CreatePlane?

It works just fine, until lint says no.

Found what I needed in the enviromentHelper.ts

import “…/Meshes/Builders/planeBuilder”;

The hell is tree shaking

Lol, this post proves to me that the hardest part of programming is creating the function names.

1 Like