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.
npm install lasso-optimize-iife --save
const lassoOptimizeIife = require('lasso-optimize-iife');
require('lasso').configure({
...
plugins: [
lassoOptimizeIife,
...
]
});