diff --git a/index.js b/index.js index 35c4b41..e654d84 100644 --- a/index.js +++ b/index.js @@ -27,8 +27,8 @@ function cssExtract (bundle, opts) { ? outFile() : bl(writeComplete) - // run before the "debug" step in browserify pipeline - bundle.pipeline.get('debug').unshift(extractStream) + // run before the "label" step in browserify pipeline + bundle.pipeline.get('label').unshift(extractStream) function write (chunk, enc, cb) { // Performance boost: don't do ast parsing unless we know it's needed