The files in dist do not include the files from lib inline so when attempting to run them through something like browserify the parsing fails because the files aren't found. I'd recommend either:
Include these dependencies inline within the files in the dist folder or
Leaving main in package.json as the default index.js which then resolves dependencies correctly
The files in
dist
do not include the files fromlib
inline so when attempting to run them through something like browserify the parsing fails because the files aren't found. I'd recommend either:dist
folder ormain
inpackage.json
as the defaultindex.js
which then resolves dependencies correctly