Skip to content

Commit e9f9f26

Browse files
authored
fix: invalid logic on missing script check (#198)
1 parent 9ab93e5 commit e9f9f26

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 WebpackPluginInstance {
3434

3535
const asset = assets[scriptName];
3636

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

0 commit comments

Comments
 (0)