use flow check and move flowtype-plugin to top level

This commit is contained in:
Sean Yesmunt 2017-12-11 23:16:44 -05:00
parent 046d936db1
commit 38a5509ed0
3 changed files with 48 additions and 181 deletions

View file

@ -23,7 +23,7 @@ module.exports = {
};
if (process.env.NODE_ENV === 'development') {
const FLOW_BABEL_WEBPACK_PLUGIN = require('./src/renderer/flowtype-plugin');
const FLOW_BABEL_WEBPACK_PLUGIN = require('./flowtype-plugin');
module.exports.plugins = [
new FLOW_BABEL_WEBPACK_PLUGIN({