Fix build missing modules

This commit is contained in:
Lukas Martinelli 2016-12-19 11:33:13 +01:00
parent 95b2dad2a3
commit e8c906e503
2 changed files with 6 additions and 1 deletions

View file

@ -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",

View file

@ -66,7 +66,9 @@ module.exports = {
}]
},
node: {
fs: "empty"
fs: "empty",
net: 'empty',
tls: 'empty'
},
plugins: [
new webpack.NoErrorsPlugin(),