Require and Webpack can eat the same files

This commit is contained in:
Brian Jacobel
2017-05-08 17:07:35 -04:00
parent 480a3ca60b
commit 9c6d94ada0
10 changed files with 264 additions and 251 deletions

View File

@@ -2378,6 +2378,8 @@ class MakoTemplateLinter(BaseLinter):
</script> | # script tag end
<%static:require_module(_async)?.*?> | # require js script tag start (optionally the _async version)
</%static:require_module(_async)?> | # require js script tag end (optionally the _async version)
<%static:webpack.*?> | # webpack script tag start
</%static:webpack> | # webpack script tag end
<%block[ ]*name=['"]requirejs['"]\w*> | # require js tag start
</%block> # require js tag end
""",