Skip to content

Commit c0b8e8a

Browse files
committed
Do not defer the main bundle script of the documentation.
1 parent e8ad198 commit c0b8e8a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/documentation/scripts/content_modifiers/script_tag_modifier.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ def _verify_application(line: str):
1515
excluded_config_script_tag_opening: str = "<script id=\"__config\" type=\"application/json\""
1616
excluded_schema_script: str = "type=\"application/ld+json\""
1717
excluded_inline_script_tag_with_no_attibutes: str = "<script>"
18+
excluded_bundle_script: str = "/bundle."
1819

1920
if script_tag_opening not in line \
2021
or excluded_config_script_tag_opening in line \
2122
or excluded_schema_script in line \
2223
or excluded_script_nowprocket_string in line \
23-
or excluded_inline_script_tag_with_no_attibutes in line:
24+
or excluded_inline_script_tag_with_no_attibutes in line \
25+
or excluded_bundle_script in line:
2426
return False
2527
return True
2628

0 commit comments

Comments
 (0)