Skip to content

Commit bac4705

Browse files
committed
include work with plugins
i dont know if the problem is with meteor 1.2 or with packages but jadeOpts.filename = compileStep.inputPath; didn't work
1 parent 2a471f4 commit bac4705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Plugin.registerSourceHandler('ng.jade', {
77
archMatching: 'web'
88
}, function(compileStep) {
99
var contents = compileStep.read().toString('utf8');
10-
jadeOpts.filename = compileStep.inputPath;
10+
jadeOpts.filename = compileStep.fullInputPath;
1111
contents = jade.compile(contents, jadeOpts)();
1212

1313
var newPath = compileStep.inputPath;

0 commit comments

Comments
 (0)