39a00060d6
author Mark Henderson <mark@mrh.io> 1598051057 -0400 committer Mark Henderson <mark@mrh.io> 1598229380 -0400 parent 32cc9a9b009d0d8543f81a6bab96ad9bcccd3088 author Mark Henderson <mark@mrh.io> 1598051057 -0400 committer Mark Henderson <mark@mrh.io> 1598229291 -0400 package updates and ipfs repo migration validate-maintainers and orbit-db-test-utils moving from 3 tabs to 2 wait workaround wait 1000 standard --fix redoing the replication test changes for some reason validate-maintainers and orbit-db-test-utils moving from 3 tabs to 2 wait workaround wait 1000 standard --fix fix create-open tests fixing eventlog tests fixing feed tests fixing kvstore tests fixing set identity tests skipping replication tests for now repo path based on API variable js-ipfs.zip go-ipfs.zip skipping replicate tests as well repo path based on API variable js-ipfs.zip go-ipfs.zip package-lock finalizing rebase
48 lines
845 B
JavaScript
48 lines
845 B
JavaScript
'use strict'
|
|
|
|
const path = require('path')
|
|
const webpack = require('webpack')
|
|
|
|
module.exports = {
|
|
entry: './src/OrbitDB.js',
|
|
output: {
|
|
libraryTarget: 'var',
|
|
library: 'OrbitDB',
|
|
filename: '../dist/orbitdb.min.js'
|
|
},
|
|
target: 'web',
|
|
devtool: 'none',
|
|
externals: {
|
|
fs: '{}',
|
|
mkdirp: '{}'
|
|
},
|
|
node: {
|
|
console: false,
|
|
Buffer: true,
|
|
mkdirp: 'empty'
|
|
},
|
|
plugins: [
|
|
new webpack.DefinePlugin({
|
|
'process.env': {
|
|
NODE_ENV: JSON.stringify(process.env.NODE_ENV)
|
|
}
|
|
})
|
|
],
|
|
resolve: {
|
|
modules: [
|
|
'node_modules',
|
|
path.resolve(__dirname, '../node_modules')
|
|
],
|
|
alias: {
|
|
leveldown: 'level-js'
|
|
}
|
|
},
|
|
resolveLoader: {
|
|
modules: [
|
|
'node_modules',
|
|
path.resolve(__dirname, '../node_modules')
|
|
],
|
|
moduleExtensions: ['-loader']
|
|
}
|
|
}
|