Skip to content

Commit

Permalink
build(jsbattle-server): clear build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jamro committed Mar 13, 2019
1 parent ecad5ee commit 2383596
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 4 deletions.
30 changes: 27 additions & 3 deletions packages/jsbattle-server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion packages/jsbattle-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,16 @@
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.3.1",
"@babel/register": "^7.0.0",
"bufferutil": "^4.0.1",
"cpx": "^1.5.0",
"eslint": "^5.13.0",
"mocha": "^5.2.0",
"npm-watch": "^0.6.0",
"rimraf": "^2.6.3",
"utf-8-validate": "^5.0.2",
"webpack": "^4.29.0",
"webpack-cli": "^3.2.1"
"webpack-cli": "^3.2.1",
"ws": "^6.2.0"
},
"dependencies": {
"body-parser": "^1.18.3",
Expand Down
1 change: 1 addition & 0 deletions packages/jsbattle-server/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ let config = {
mode: "production",
entry: path.resolve(__dirname, 'src/index.js'),
target: 'node',
externals: ['express'],
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'jsbattle-server.js',
Expand Down

0 comments on commit 2383596

Please sign in to comment.