We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We use extract-loader to compose template files like this:
// index.js import template from '!file-loader!extract-loader!ref-loader!./template.soy'; // template.soy @ref(!ref-loader!./Part1.soy) @ref(!ref-loader!./Part2.soy) // Part1.soy {template .Part1} {foreach $key in keys($ij.pageItem.preferences)} {if matches($key, '^visible_.*$')} {/if} {/foreach} {/template} // Part2.soy {template .Part2} {/template}
After upgrade extract-loader to v5.2.0 whole code part after $ is not included in result file. Downgrade extract-loader to v5.0.1 only works fine.
$
e.g. produce
// template.soy {template .BackbaseModel} {foreach $key in keys($ij.pageItem.preferences)} {if matches($key, '^visible_.*$ {template .Part2} {/template}
I suppose it's regex-relative thing. Probably somewhat connected with #57 and #54 ()
The text was updated successfully, but these errors were encountered:
#83 connected
src/extractLoader.js:175
should be
return content.replace(pattern, () => dependencyContent);
because replace callbacks ignore special sequences like $'
$'
Sorry, something went wrong.
No branches or pull requests
We use extract-loader to compose template files like this:
After upgrade extract-loader to v5.2.0 whole code part after
$
is not included in result file. Downgrade extract-loader to v5.0.1 only works fine.e.g. produce
I suppose it's regex-relative thing.
Probably somewhat connected with #57 and #54 ()
The text was updated successfully, but these errors were encountered: