From a8e591525b3753c2c7628e29aa653cd3c9024def Mon Sep 17 00:00:00 2001 From: David Dias Date: Thu, 10 Mar 2016 19:36:47 +0000 Subject: [PATCH] update readme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cd289e9..700be26 100644 --- a/README.md +++ b/README.md @@ -28,9 +28,13 @@ The public key is a base64 encoded string of a protobuf containing an RSA DER bu const PeerId = require('peer-id') ``` +### In the Browser through Webpack + +Follow our [webpack config](/webpack.config.js) example. + ### In the Browser through browserify -TODO: Figure out how to get this working with browserify and webpack. Browserify can't bundle our replacement of ```fs.readFileSync``` with ```require('buffer!./file')```. +> **WIP** Doesn't work out yet ### In the Browser through `