Skip to content

Commit

Permalink
fix: invalid logic on missing script check (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmalakoff committed Jul 4, 2021
1 parent 9ab93e5 commit e9f9f26
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 WebpackPluginInstance {

const asset = assets[scriptName];

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

Expand Down

0 comments on commit e9f9f26

Please sign in to comment.