timdp / rollup-plugin-assert-es

Verifies that bundled code is ES5.
MIT License
1 stars 0 forks source link

rollup-plugin-assert-es

npm Dependencies Build Status Coverage Status JavaScript Standard Style

Verifies that bundled code is ES5.

Installation

npm install --save-dev rollup-plugin-assert-es

Usage

import assertES from 'rollup-plugin-assert-es'

export default {
  entry: 'src/index.js',
  dest: 'dist/my-lib.js',
  plugins: [
    // ... other plugins here ...
    assertES()
  ]
}

Options

ecmaVersion

Target ECMAScript version. Defaults to 5.

Author

Tim De Pauw

License

MIT