Skip to content
Permalink
Browse files

fix(build option): inline.jsHtmlImports should match template variabl…

…e that's followed by }
  • Loading branch information
jyounce committed Jan 11, 2018
1 parent 1d99ede commit 5f39670a3978fd8fab95482da543f8f4f2f3c15e
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/plugins/gulp-inline-js-html-imports.coffee
@@ -66,8 +66,8 @@ Regx =
new RegExp "#{statement}\\n?", 'g'

templateVar: (variable) -> # :RegExp
# \btemplate(?=\s*?(;|\/\/|\/\*|\n|$))(?!\s+?(:|\(|from))
new RegExp "\\b#{variable}(?=\\s*?(;|\\/\\/|\\/\\*|\\n|$))(?!\\s+?(:|\\(|from))", 'g'
# \btemplate(?=\s*?(;|}|\/\/|\/\*|\n|$))(?!\s+?(:|\(|from))
new RegExp "\\b#{variable}(?=\\s*?(;|}|\\/\\/|\\/\\*|\\n|$))(?!\\s+?(:|\\(|from))", 'g'

# HTML IMPORTS (hashmap)
# jsPath: (dist/client/scripts/xxx.js)

0 comments on commit 5f39670

Please sign in to comment.
You can’t perform that action at this time.