File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ __root__: Root folder path for include. Default `./`
3535
3636__ encoding__ : Default ` utf-8 `
3737
38+ __ posthtmlExpressionsOptions__ : Array to pass options posthtml-expression
39+
3840### Component options
3941__ locals__ : Object containing any local variables that you want to be accessible inside the include component
4042
Original file line number Diff line number Diff line change @@ -20,9 +20,7 @@ module.exports = (options = {}) => {
2020 let content ;
2121 let subtree ;
2222 let source ;
23- const posthtmlExpressionsOptions = {
24- locals : false
25- }
23+ const posthtmlExpressionsOptions = options . posthtmlExpressionsOptions || { locals : false } ;
2624
2725 if ( options . delimiters ) {
2826 posthtmlExpressionsOptions . delimiters = options . delimiters ;
You can’t perform that action at this time.
0 commit comments