Skip to content
This repository has been archived by the owner on Oct 12, 2019. It is now read-only.

Commit

Permalink
Merge pull request #10 from bfred-it/patch-1
Browse files Browse the repository at this point in the history
Fix support for IIFE
  • Loading branch information
frostney committed Mar 26, 2016
2 parents 16c211e + e184b6b commit 96db8a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ module.exports = function rollupLib(options) {
config.dest += '.umd';
config.moduleName = rollupOptions.moduleName;
}

if (format === 'iife') {
config.dest += '.iife';
config.moduleName = rollupOptions.moduleName;
}

config.dest += '.js';

Expand Down

0 comments on commit 96db8a7

Please sign in to comment.