1.0.1 • Published 5 years ago
babel-plugin-transform-umd-to-iife v1.0.1
WORK IN PROGRESS
babel-plugin-transform-umd-to-iife
Take a UMD bundle and convert it to an iife
and specify the globalName that is assigned.
installation
npm install babel-plugin-transform-umd-to-iife --save-dev
usage
{
plugins: [
['babel-plugin-transform-umd-to-iife'), { globalName: 'MyGlobalName' }],
],
}