0.1.3 • Published 7 years ago

flow-check-webpack-plugin v0.1.3

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

flow-check-webpack-plugin

NPM

  • A Webpack plugin, not a loader. Use babel-loader to strip Flow syntax, or use the comment syntax.
  • Run check for single-shot builds, and server/status for watch builds. Tear down the server on exit.
  • Access flow via flow-bin.
  • Just a Webpack plugin, no other glue or tape required.
  • Maintained. (For now! :wink:)
npm install --save-dev flow-check-webpack-plugin flow-bin webpack
const FlowCheckWebpackPlugin = require('flow-check-webpack-plugin');

module.exports = {
  // ...
  plugins: [
    new FlowCheckWebpackPlugin()
  ]
};

Example GIF

Contributing

Doesn't work for you? Wish it did something different? Pull requests and issues welcome!

cd test-project && npm run once && npm run watch