Include browser version in npm package
See original GitHub issueRecently we had a discussion and made a move to remove our dependency on bower for our application. This has greatly improved consistency, and lowered our dependency count. However the npm version of Autobahn does not include a browser compatible version.
I see that a standalone version in being created in the Makefile
browserify lib/autobahn.js --standalone autobahn -o build/autobahn.js
However this is being ignored in the npm package in the .npmignore
.
Would it be possible to include this file in the npm package?
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to use npm modules in browser? is possible to use them ...
Yes. But you need node just to install browserify and to bundle your javascripts into a single file that you can include directly...
Read more >detect-browser - npm
Unpack a browser type and version from the useragent string. Latest version: 5.3.0, last published: a year ago. Start using detect-browser ...
Read more >browser - npm
Latest version: 0.2.6, last published: 10 years ago. Start using browser in your project by running `npm i browser`.
Read more >browser-update - npm
Go to browser-update.org, choose the browsers you want to be notified and embed the code into your website. Or use the npm package:...
Read more >browser-version - npm
a module for detecting the browser version. Latest version: 1.0.0, last published: 7 years ago. Start using browser-version in your project ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is now published, please see here https://github.com/crossbario/autobahn-js-built/tree/v0.10.0
npm fetches autobahn from autobahn-js-built without any issue. The only warning I see is emitted by webpack (I use webpack in my app):