From e8c906e503088a012f682c858c5e966c6a510778 Mon Sep 17 00:00:00 2001 From: Lukas Martinelli Date: Mon, 19 Dec 2016 11:33:13 +0100 Subject: [PATCH] Fix build missing modules --- package.json | 3 +++ webpack.production.config.js | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 15c8eb3d..c998b396 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "license": "MIT", "homepage": "https://github.com/maputnik/editor#readme", "dependencies": { + "color": "^1.0.3", "file-saver": "^1.3.2", "immutable": "^3.8.1", "mapbox-gl": "^0.24.0", @@ -31,9 +32,11 @@ "react-addons-pure-render-mixin": "^15.4.0", "react-collapse": "^2.3.3", "react-color": "^2.10.0", + "react-colorpickr": "^4.3.0", "react-dom": "^15.4.0", "react-file-reader-input": "^1.1.0", "react-height": "^2.1.1", + "react-icon-base": "^2.0.4", "react-icons": "^2.2.1", "react-motion": "^0.4.4", "react-sortable-hoc": "^0.4.5", diff --git a/webpack.production.config.js b/webpack.production.config.js index fbbfc71e..b0755a32 100644 --- a/webpack.production.config.js +++ b/webpack.production.config.js @@ -66,7 +66,9 @@ module.exports = { }] }, node: { - fs: "empty" + fs: "empty", + net: 'empty', + tls: 'empty' }, plugins: [ new webpack.NoErrorsPlugin(),