Skip to content

Commit

Permalink
🐛 Allow also internal files for preload and modulepreload
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto authored Feb 25, 2020
1 parent 7b05cb1 commit 69ec4ca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Resources/Private/Fusion/Internal/Tag.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,11 @@ prototype(Carbon.IncludeAssets:Internal.Tag) < prototype(Neos.Fusion:Component)
}

prototype(Carbon.IncludeAssets:Internal.Tag.ModulePreload) < prototype(Carbon.IncludeAssets:Internal.Tag) {
external = true
async = false
renderer.modulePreload = ${'<link rel="modulepreload" href="' + this.uri + '"' + props.attributes +' />'}
}

prototype(Carbon.IncludeAssets:Internal.Tag.Preload) < prototype(Carbon.IncludeAssets:Internal.Tag) {
external = true
async = false
renderer.preload = ${'<link rel="preload" href="' + this.uri + '"' + props.attributes +' />'}
}
Expand Down

0 comments on commit 69ec4ca

Please sign in to comment.