Skip to content

Commit bbe9cd1

Browse files
Fix postgraphile websocket/subscription omission path
1 parent 13d002e commit bbe9cd1

File tree

3 files changed

+1792
-1016
lines changed

3 files changed

+1792
-1016
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
"postgraphile": "^4.4.0-beta.9"
1818
},
1919
"devDependencies": {
20-
"aws-sdk": "^2.814.0",
20+
"aws-sdk": "^2.437.0",
2121
"serverless-content-encoding": "^1.1.0",
22-
"webpack": "5.94.0",
22+
"webpack": "4.29.6",
2323
"webpack-cli": "3.3.0"
2424
}
2525
}

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = {
3030

3131
// Omit websocket functionality from postgraphile:
3232
new webpack.NormalModuleReplacementPlugin(
33-
/postgraphile\/build\/postgraphile\/http\/subscriptions\.js$/,
33+
/postgraphile\/build-turbo\/postgraphile\/http\/subscriptions\.js$/,
3434
`${__dirname}/src/postgraphile-http-subscriptions.js`
3535
),
3636

0 commit comments

Comments
 (0)