babel-plugin-iife-wrap
Wrap file with iife.
Install
With npm do:
npm i babel-plugin-iife-wrap --D
Example
Input
windowa = 1;
Output
; { windowa = 1;};
Usage
In your Babel configuration:
Contributing
Pull requests are welcome. If you add functionality, then please add unit tests to cover it.
License
MIT © Bogdan Chadkin