vagusX / es-compatible-loader

webpack loader for check es compatiblity for dependencies especially for node_modules
https://vagusx.github.io/es-compatible-loader/
MIT License
0 stars 0 forks source link
es-compatiblity js-compatiblity node-modules webpack webpack-loader

ES Compatible Loader

NPM CircieCI Build Coverage NPM Downloads Greenkeeper badge

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'
        }
      }
    }
  ]

JavaScript Style Guide