warning-require-jsx-file

1.0.1 • Public • Published

warning-require-jsx-file

this is a webpack plugin, when you require .jsx file, warning you~

USE

npm i --save-dev warning-require-jsx-file

and then in your webpack file


var checkJSXFile = require('check-jsx-file');

plugins: [
  new webpack.optimize.OccurenceOrderPlugin(),
  new webpack.HotModuleReplacementPlugin(),
  new checkJSXFile(),
  new webpack.NoErrorsPlugin()
]

Package Sidebar

Install

npm i warning-require-jsx-file

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • stephenkingsley