From 503b875c98d7485b65c72770555448b6c2b2cd5c Mon Sep 17 00:00:00 2001 From: Enrico Fasoli Date: Mon, 23 Nov 2015 15:13:21 +0100 Subject: [PATCH] fix js-ipfs-api build --- webpack.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 2a95078..284367f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -48,7 +48,11 @@ module.exports = { ] }, externals: { - fs: '{}' + net: '{}', + fs: '{}', + tls: '{}', + console: '{}', + 'require-dir': '{}' }, plugins: [ new HtmlWebpackPlugin({