Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
docs: fix js dependencies in webpack example (#1027)
Browse files Browse the repository at this point in the history
* docs: fix js dependencies in webpack example

* Update app.js

* Update package.json

* Update package.json

* Update package.json

* Update app.js
  • Loading branch information
dfguo authored and dryajov committed Oct 26, 2017
1 parent c8ac543 commit a698f34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/browser-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"webpack-dev-server": "^2.4.5"
},
"dependencies": {
"safe-buffer": "^5.0.1"
"ipfs": "file:../../"
}
}
4 changes: 1 addition & 3 deletions examples/browser-webpack/src/components/app.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
'use strict'

const React = require('react')
const Buffer = require('safe-buffer').Buffer
const IPFS = require('../../../../src/core') // replace this by line below
// const IPFS = require('ipfs')
const IPFS = require('ipfs')

const stringToUse = 'hello world from webpacked IPFS'

Expand Down

0 comments on commit a698f34

Please sign in to comment.