ieskudero/three-dxf-viewer

issue using in typescript/webpack project

berry4u opened this issue · 1 comments

i've got the error: Cannot read properties of undefined (reading '__esModule') when included in a typescript project with webpack and using require, since @types definition is not available . This is what I get:
image

Sorry @berry4u but I am having trouble finding the error since I have never used Typescript. Can you clarify it a little bit more?