Skip to content

Commit 8074391

Browse files
authored
Something to fix something when using postgraphile@next
1 parent e1ed462 commit 8074391

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

webpack.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ module.exports = {
2727
}),
2828
new webpack.NormalModuleReplacementPlugin(/pg\/lib\/native\/index\.js$/, '../client.js'),
2929
],
30+
31+
// Something to fix something in postgraphile:
32+
new webpack.NormalModuleReplacementPlugin(
33+
/postgraphile\/build\/postgraphile\/http\/subscriptions\.js$/,
34+
`${__dirname}/src/postgraphile-http-subscriptions.js`
35+
),
3036

3137
// Just in case you install express:
3238
new webpack.NormalModuleReplacementPlugin(

0 commit comments

Comments
 (0)