Skip to content

Commit c28ddf2

Browse files
https://github.com/brianc/node-postgres/issues/838
1 parent 81728e1 commit c28ddf2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"gulp": "^4.0.2",
3232
"gulp-zip": "^5.0.1",
3333
"nodemon": "^2.0.2",
34-
"webpack": "^4.42.1",
34+
"webpack": "^4.44.1",
3535
"webpack-cli": "^3.3.12",
3636
"webpack-stream": "^5.2.1"
3737
}

webpack.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
const path = require('path');
2+
var webpack = require('webpack');
23

34
module.exports = {
45
entry: './server.js',
56
mode: 'production',
67
target: 'node',
8+
plugins: [ new webpack.IgnorePlugin(/^pg-native$/) ],
79
output: {
810
path: path.resolve(__dirname, '.'),
911
filename: 'server.bundle.js'

0 commit comments

Comments
 (0)