moos / wordnet-db

WordNet Database files (previously WNdb)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build to single file

buildbreakdo opened this issue · comments

Have a project that has added this as a dependency. This project uses webpack to resolve all dependencies into a single build file. Current understanding is because this project is not built into a single file, it tries to resolve it within my project. The /dict directory path cannot resolve. Have to go into node_modules and copy dict to my root directory for it to resolve.

Would you be open to adding webpack and building this project to a single file? Happy to do the leg work for you and make a pull request. Thanks for this!

commented

Not sure how you plan to use this. This is not a browser module -- the files have strict format specified by the WordNet DB, and are meant to be used by a server-side reader such as wordpos. If you are asking about server-side usage, I'd suggest simply excluding these from any webpack processing. Hope that helps.