network-idle-callback
network-idle-callback copied to clipboard
Minor package.json issues
package.json
refers to lib/index.js
and /lib
which don't appear to exist. Perhaps this needs to be updated to refer to index.js in root, @pastelsky?.. :)
https://github.com/pastelsky/network-idle-callback/blob/master/package.json#L7
These also appear to be path issues in the prepublish step.
I was trying network-idle-callback for a demo I'm working on and ran into issues with that part of the package today. Any chance of a fix/republish to npm? :)
Hi @addyosmani ,
The lib/*
files are transpiled and published only to npm. Installing it via yarn
for eg. will give you this -
https://unpkg.com/[email protected]/lib/
I probably already had the lib
folder created before publishing so didn't come across this error while building. Let me take a look. But you should be able to pull it off npm and use it just fine.
Also, there is a demo in the www
folder that works locally, in case you were looking for one.
Thank you for checking that out :) It was with a local build of the repo that I've seen the above issues.
Is the module vended as CommonJS intentionally? When referencing from unpkg or with an npm install for the browser we see module.exports issues. I can "fix" this by stripping CJS specific lines manually, but wanted to ask in case others ran into this.
@Qawsedrf0501
- @TonyBogdanov
What?