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