Skip to content
Snippets Groups Projects
Commit f955ae2e authored by Tom Robinson's avatar Tom Robinson
Browse files

Disable Flow for production builds

parent 14fc9eb2
No related branches found
No related tags found
No related merge requests found
......@@ -186,8 +186,7 @@ var config = module.exports = {
'process.env': {
NODE_ENV: JSON.stringify(NODE_ENV)
}
}),
new FlowStatusWebpackPlugin()
})
],
postcss: function (webpack) {
......@@ -236,6 +235,8 @@ if (NODE_ENV === "development" || NODE_ENV === "hot") {
config.resolve.alias[name] = unminified;
}
}
config.plugins.push(new FlowStatusWebpackPlugin())
}
if (NODE_ENV === "hot" || isWatching) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment