make FS module empty in prod

pull/406/head
Rick Carlino 2017-08-15 09:59:05 -05:00
parent 4386b6d21c
commit c4b69d4d0e
1 changed files with 4 additions and 1 deletions

View File

@ -94,5 +94,8 @@ module.exports = {
new webpack.DefinePlugin({
"process.env.NODE_ENV": JSON.stringify("production")
})
]
],
node: {
fs: "empty"
}
}