Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Produce standalone .js file #90

Closed
feross opened this issue Sep 15, 2014 · 4 comments
Closed

Produce standalone .js file #90

feross opened this issue Sep 15, 2014 · 4 comments

Comments

@feross
Copy link
Member

@feross feross commented Sep 15, 2014

Some users don't use a client-side commonJS bundler like browserify (though they should seriously consider it!), so let's produce a standalone .js file for them.

@feross

This comment has been minimized.

Copy link
Member Author

@feross feross commented Sep 15, 2014

We can also exclude a bunch of npm dependencies that are not needed in the browser context using the excellent browser field spec for package.json so we get a smaller build.

@feross

This comment has been minimized.

Copy link
Member Author

@feross feross commented Sep 15, 2014

Created a separate issue for reducing the bundle size: #91

@feross

This comment has been minimized.

Copy link
Member Author

@feross feross commented Sep 15, 2014

Fixed in c36bc28 and c8780b2

@feross feross closed this Sep 15, 2014
@feross

This comment has been minimized.

Copy link
Member Author

@feross feross commented Sep 15, 2014

For those interested, the static bundle file webtorrent.min.js is available here: https://raw.githubusercontent.com/feross/webtorrent/master/webtorrent.min.js

@lock lock bot locked as resolved and limited conversation to collaborators May 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.