Latest NPM for BabylonJS 3.0 alpha includes Canvas2D! I am having difficulty importing Canvas2D into my project. I have no troubles at all with regular BabylonJS only with importing Canvas2D.
// I can import the main babylonJS in a variety of ways and they all work.
// explicit imports
import { Sound, Mesh, ShadowGenerator, ... } from 'babylonjs'
// default and named
import BABYLON, { Sound, Mesh, ShadowGenerator, ... } from 'babylonjs'
// tried also named default only and *
After