1.0.1 • Published 8 years ago

warning-require-jsx-file v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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()
]
1.0.1

8 years ago

1.0.0

8 years ago