Skip to content

Commit

Permalink
fix: invalid logic on missing script check
Browse files Browse the repository at this point in the history
  • Loading branch information
icelam committed Jul 4, 2021
1 parent 3a2f4cb commit aa66df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HtmlInlineScriptPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class HtmlInlineScriptPlugin implements Plugin {

const asset = assets[scriptName];

if (!tag) {
if (!asset) {
return tag;
}

Expand Down

0 comments on commit aa66df0

Please sign in to comment.