diff --git a/README.md b/README.md index d627b69..eccfb27 100644 --- a/README.md +++ b/README.md @@ -38,9 +38,9 @@ A Go implementation is developed and maintained by the [Berty](https://github.co - [Installation](#installation) + * [Browser ` + ## Usage If you're using `orbit-db` to develop **browser** or **Node.js** applications, use it as a module with the javascript instance of IPFS. diff --git a/conf/webpack.config.js b/conf/webpack.config.js index 54aa93c..317d398 100644 --- a/conf/webpack.config.js +++ b/conf/webpack.config.js @@ -7,7 +7,7 @@ export default (env, argv) => { return { mode: 'production', - entry: './src/orbitdb.js', + entry: './src/index.js', output: { filename: '../dist/orbitdb.min.js', library: { diff --git a/conf/webpack.debug.config.js b/conf/webpack.debug.config.js index 5047601..d711dd4 100644 --- a/conf/webpack.debug.config.js +++ b/conf/webpack.debug.config.js @@ -7,7 +7,7 @@ export default (env, argv) => { return { mode: 'development', - entry: './src/orbitdb.js', + entry: './src/index.js', output: { filename: '../dist/orbitdb.js', library: { diff --git a/src/databases/documents.js b/src/databases/documents.js index f5bece4..e15d1b5 100644 --- a/src/databases/documents.js +++ b/src/databases/documents.js @@ -9,7 +9,7 @@ * const ipfs = create() * const orbitdb = await OrbitDB({ ipfs }) * const db = await orbitdb.open('my-docs', { Database: Documents({ indexBy: 'myCustomId'} ) } - * + * * @augments module:Databases~Database */ import Database from '../database.js'