Can’t import npm module three.meshline as it expects to find either THREE or require globals.
Is there a workaround for this in Observable or does it require a change to the package?
This is pretty similar to how you load THREE’s OrbitControls. You need to populate the THREE global, and then extract the globals defined by the three.meshline plugin. Here are some changes you can merge: