You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, For some reason when I install via npm I only get the snabbt.js file which calls for other files that are not present ( e.g. utils.js ). However when I install via bower everything seems to be in place and works correctly. The specific folders missing from the npm install are src and doc folders...
The text was updated successfully, but these errors were encountered:
That's strange, there should be no external dependencies, it's a bundle that gets published to npm.
I just tried with the latest release and it works for me.
Can you show me how you require the library?
@daniel-lundin the file referenced in package.json as main is the bundle and that doesn't allow a commonjs module loader like browserify to properly require the library.
WARNING in ./~/snabbt.js/snabbt.js
Critical dependencies:
2:479-486 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
@ ./~/snabbt.js/snabbt.js 2:479-486
Hello, For some reason when I install via npm I only get the snabbt.js file which calls for other files that are not present ( e.g. utils.js ). However when I install via bower everything seems to be in place and works correctly. The specific folders missing from the npm install are src and doc folders...
The text was updated successfully, but these errors were encountered: