Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

Add option for entrpoint + preload/prefetch children #109

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gcoombe
Copy link

@gcoombe gcoombe commented Jan 21, 2020

Fixes #108

Description

  • Adds link tags for entrypoints as well as any chunks which are prefetched or preloaded from an entrypoint via a magic comment

Why

TODO

Submitted a PR to get early feedback on the approach but would need to do the following:

  • Add to README
  • This requires webpack >= 4.6.0 so we would either need to bump the peer dependency or make it clear that child assets will not be added in an older verions (would prefer the former)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add links based on webpackPreload/webpackPrefetch magic comments
1 participant