Skip to content

Commit

Permalink
fix: support backtick quoted templateUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
SEIAROTg authored Aug 8, 2018
1 parent 6991752 commit de29888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preprocessor.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const process = require('ts-jest').process;
const TEMPLATE_URL_REGEX = /templateUrl\s*:\s*('|")(\.\/){0,}(.*)('|")/g;
const TEMPLATE_URL_REGEX = /templateUrl\s*:\s*('|"|`)(\.\/){0,}(.*)('|"|`)/g;
const STYLE_URLS_REGEX = /styleUrls\s*:\s*\[[^\]]*\]/g;
const ESCAPE_TEMPLATE_REGEX = /(\${|\`)/g;

Expand Down

0 comments on commit de29888

Please sign in to comment.