make FS module empty in prod
parent
4386b6d21c
commit
c4b69d4d0e
|
@ -94,5 +94,8 @@ module.exports = {
|
|||
new webpack.DefinePlugin({
|
||||
"process.env.NODE_ENV": JSON.stringify("production")
|
||||
})
|
||||
]
|
||||
],
|
||||
node: {
|
||||
fs: "empty"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue