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

docs: fix js dependencies in webpack example #1027

Merged
merged 7 commits into from
Oct 22, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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