systemjs/test/tests/compiler-plugin.js
2014-05-06 18:05:16 -07:00

6 lines
198 B
JavaScript

"format cjs";
exports.translate = function(load, systemTranslate) {
load.source = 'require("tests/global"); exports.extra = "yay!"; \n' + load.source;
return systemTranslate.call(this, load);
}