Skip to content

Commit

Permalink
Additional settings and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
constantinius committed Apr 18, 2018
1 parent 9cc8e68 commit cd003dd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ module.exports = {
'allowImportExportEverywhere': false
},
'env': {
'mocha': true,
'browser': true,
'worker': true,
'node': true
},
'rules': {
'no-underscore-dangle': 0,
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"license": "ISC",
"dependencies": {
"ol": "^4.6.5",
"proj4": "^2.4.4",
"react": "^16.3.1",
"react-dom": "^16.3.1",
"react-redux": "^5.0.7",
Expand All @@ -26,6 +27,7 @@
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"css-loader": "^0.28.11",
"escope": "^3.6.0",
"eslint": "^4.18.2",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.8.0",
Expand All @@ -34,6 +36,7 @@
"style-loader": "^0.20.3",
"webpack": "^4.5.0",
"webpack-cli": "^2.0.14",
"webpack-dev-server": "^3.1.3"
"webpack-dev-server": "^3.1.3",
"worker-loader": "^1.1.1"
}
}
4 changes: 4 additions & 0 deletions webpack.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ module.exports = {
extensions: ['.js', '.jsx'],
},

node: {
fs: 'empty',
},

devServer: {
host: '0.0.0.0',
port: 8091,
Expand Down

0 comments on commit cd003dd

Please sign in to comment.