Skip to content

Commit

Permalink
fix: don't use public path when determining as value (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofandel authored Jul 16, 2020
1 parent 407291f commit 399c0dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class PreloadPlugin {
// then we need to set the 'as' attribute correctly.
if (options.rel === 'preload') {
attributes.as = determineAsValue({
href,
href: file,
optionsAs: options.as
})

Expand Down

0 comments on commit 399c0dc

Please # to comment.