ieskudero / three-dxf-viewer

DXF viewer using ThreeJS

Home Page:https://www.npmjs.com/package/three-dxf-viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

issue using in typescript/webpack project

berry4u opened this issue · 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?