ES Compatible Loader
Installation
$ npm install es-compatible-loader --save-dev
Usage
// ...webpack config
rules: [
{
test: /\.js/,
include: /node_modules/,
use: {
loader: 'es-compatible-loader',
options: {
hintLevel: 'error' | 'warning'
}
}
}
]