Skip to content

Commit 17b1a76

Browse files
committed
Propagate plugins options
1 parent 862e8b9 commit 17b1a76

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/index.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,8 @@ exports.compile = function(str, options){
199199
debug: options.debug,
200200
templateName: 'template',
201201
filters: options.filters,
202-
filterOptions: options.filterOptions
202+
filterOptions: options.filterOptions,
203+
plugins: options.plugins,
203204
});
204205

205206
var res = options.inlineRuntimeFunctions
@@ -244,7 +245,8 @@ exports.compileClientWithDependenciesTracked = function(str, options){
244245
debug: options.debug,
245246
templateName: options.name || 'template',
246247
filters: options.filters,
247-
filterOptions: options.filterOptions
248+
filterOptions: options.filterOptions,
249+
plugins: options.plugins,
248250
});
249251

250252
return {body: parsed.body, dependencies: parsed.dependencies};

0 commit comments

Comments
 (0)