Skip to content

Commit 42304b0

Browse files
committed
"build:server" now targets Node, allowing 'http' and 'socket.io' packages to work.
1 parent 83086f8 commit 42304b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webpack/server.prod.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ module.exports = {
99
entry: [
1010
'./routes/index.js',
1111
],
12+
target: 'node',
1213
output: {
1314
path: path.join(__dirname, '../server/bin'),
1415
filename: './server.js',

0 commit comments

Comments
 (0)