Package on RunKit uses old file structure with new file content.
I created my NPM package called ethavatar
which is available on NPM. First, all code in this package was in one file (src/index.js
), but in the last version (1.0.0-beta.5
), I split the code into multiple files and src/index.js
only requires them. See my package code for details.
The problem is that RunKit still uses old file structure with one file. However, it also uses new file content which requires other files. See file content on RunKit for details. This will cause an error about not resolving modules. See my RunKit document for details.
If I require version 1.0.0-beta.4
, this will work because that version uses only one file for the code. However, the code would still not be useful because of unexisting module bignumber.js
(details in another topic). See my RunKit document for details.