[ERROR] Could not resolve "./htmlMesh.js"


Could not resolve “./htmlMesh.js”

It should be related to how builder resolves paths. Probably referencing the index file here might be a solution, but it would break the ESlint rule.

Meantime you can import it in this way:

import { HtmlMesh, HtmlMeshRenderer } from '@babylonjs/addons/htmlMesh';

and it should work.

1 Like