rollup-plugin-assert-es
v1.0.0
Published
Verifies that bundled code is ES5.
Downloads
2
Maintainers
Keywords
Readme
rollup-plugin-assert-es
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
License
MIT