calipho-sib / feature-viewer

Library to visualize protein sequence features in javascript using D3 - From SIB CALIPHO group; neXtProt project
http://calipho-sib.github.io/feature-viewer/examples/
Other
110 stars 31 forks source link

Getting TypeError: Cannot read properties of undefined (reading 'document') #81

Open Deepanshu4041 opened 2 months ago

Deepanshu4041 commented 2 months ago

Iam using vite+React with Typescript and it is bulding a feature-viewer.js file inside .vite/deps which have this.document line which is causing this error to come.