@ -59,7 +59,9 @@ module.exports = function (browserify, options) {
dedupePhase.push(createDedupeBundleCssStream(options));
}
browserify.transform(createTransform, options);
// NOTE: This is global because otherwise the transform will not run when processing node_modules. If this causes problems for you, please file an issue!
// FIXME: Figure out if there's a better solution for this
browserify.transform(createTransform, { ... options, global: true });
browserify.on("reset", () => {
setupPipeline();