Skip to content

Commit

Permalink
Add info about using browserify
Browse files Browse the repository at this point in the history
  • Loading branch information
unscriptable committed Dec 22, 2014
1 parent 4c27845 commit 69d1d72
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,17 @@ if (typeof "".trim != 'function') {
curl({ preloads: preloads });
```
Can I use poly without a module loader?
---
Yes. You can use [browserify](http://browserify.org) to turn poly's modules into a single file that doesn't require a module loader. Here's a simple example of how to browserify all of the ES5 polyfills into a file named "poly-es5.browserify.js":
```
browserify -s 'poly' es5.js -o poly-es5.browserify.js
```
See the browserify [documentation](http://browserify.org) for more options and use cases.
JSON3
===
Expand Down

0 comments on commit 69d1d72

Please sign in to comment.