Skip to content

Commit aa66df0

Browse files
committed
fix: invalid logic on missing script check
1 parent 3a2f4cb commit aa66df0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HtmlInlineScriptPlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class HtmlInlineScriptPlugin implements Plugin {
3434

3535
const asset = assets[scriptName];
3636

37-
if (!tag) {
37+
if (!asset) {
3838
return tag;
3939
}
4040

0 commit comments

Comments
 (0)