diff --git a/index.js b/index.js index c6bb734..67c36f8 100644 --- a/index.js +++ b/index.js @@ -45,6 +45,11 @@ module.exports = function enchilada(opt) { bundle.transform(transform) }); } + if (opt.globalTransforms) { + opt.globalTransforms.forEach(function(transform) { + bundle.transform({ global: true }, transform) + }); + } if (opt.externals) { opt.externals.forEach(function(external) { bundle.external(external);