Closed cookednoodles closed 8 years ago
It's not an error, it's done on purpose. It's because the file gets compiled when the package is published on NPM. So the lib/index.js
exists at that time.
The v4 build doesn't seem to be doing this, there isn't a lib folder in the build.
You're right. a .npmignore
is required to prevent npm to use .gitignore
which is ignoring /lib
.
Reopening this issue.
Until it's resolved, you should be able to run npm run compile
inside the folder to create lib/index.js
Should be fixed now with the version 4.0.1
:) Thanks again @cookednoodles!
Index.js appears to be pointing to : ./lib/NumberEditor
However the file is in ./src/