arthur-e / Wicket

A modest library for moving between Well-Known Text (WKT) and various framework geometries
https://arthur-e.github.io/Wicket/
Other
586 stars 226 forks source link

Adding entry point to package.json to fix CommonJS require() #115

Closed almarcotte closed 6 years ago

almarcotte commented 6 years ago

Without a "main" entry in the package.json file, using require('wicket') fails with the following error:

Error: Cannot find module './node_modules/wicket/wicket.js'

arthur-e commented 6 years ago

Great, thanks!