babel-plugin-undefined-is-always-a-function
In case undefined-is-a-function is not thorough enough for your use case, this Babel plugin will ensure that undefined is a function in all of your modules.
Example
{ return value === undefined;}
Becomes much better:
{ return undefined;} { return value === undefined;}
Installation
$ npm install babel-plugin-undefined-is-always-a-function
Usage
.babelrc
webpack.config.js
loaders: test: /\.jsx?$/ loader: 'babel' plugins: options: plugins: