Wiki previously assumed the locations of wiki-client and wiki-server
within node_modules. Glitch.com uses pnpm to install node modules. It
organizes the filesystem differently than wiki-server expected.
This change lets node's resolution tell us where the wiki-client is
installed.
Use require.resolve() to find the location on disk.
~Depends on https://github.com/fedwiki/wiki-client/pull/245~
Motivation for the change:
Wiki previously assumed the locations of wiki-client and wiki-server within node_modules. Glitch.com uses pnpm to install node modules. It organizes the filesystem differently than wiki-server expected.
This change lets node's resolution tell us where the wiki-client is installed.
I think this is a better solution than #147