diff --git a/packages/stylus/plugin/compile-stylus.js b/packages/stylus/plugin/compile-stylus.js index 008dc556aa..3b297e943f 100644 --- a/packages/stylus/plugin/compile-stylus.js +++ b/packages/stylus/plugin/compile-stylus.js @@ -4,6 +4,9 @@ var nib = Npm.require('nib'); var path = Npm.require('path'); var Future = Npm.require('fibers/future'); +// XXX BBP probably rewrite to registerCompiler even if we can't implement +// good @imports because stylus doesn't let you override @import processing. +// (maybe deprecate this package? put out a call for PRs?) Plugin.registerSourceHandler("styl", {archMatching: 'web'}, function (compileStep) { var f = new Future; stylus(compileStep.read().toString('utf8')) diff --git a/packages/templating/plugin/compile-templates.js b/packages/templating/plugin/compile-templates.js index e8b8dbdfbf..edd4e538a6 100644 --- a/packages/templating/plugin/compile-templates.js +++ b/packages/templating/plugin/compile-templates.js @@ -43,6 +43,7 @@ var doHTMLScanning = function (compileStep, htmlScanner) { } }; +// XXX BBP rewrite to registerCompiler Plugin.registerSourceHandler( "html", {isTemplate: true, archMatching: 'web'}, function (compileStep) {