1.0.1 • Published 8 years ago
warning-require-jsx-file v1.0.1
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()
]