Awesome
lasso-optimize-iife
Lasso.js transform for optimize-js
Optimize a JavaScript file for faster execution, by wrapping all immediately-invoked functions or likely-to-be-invoked functions in parentheses.
Installation
npm install lasso-optimize-iife --save
Usage
const lassoOptimizeIife = require('lasso-optimize-iife');
require('lasso').configure({
...
plugins: [
lassoOptimizeIife,
...
]
});