This PR removes everything regarding the Resolver and client script tag rendering. They both added assumptions, magic and complexity to the code base, so I think we're better off without them.
Most importantly, resolvers are hard to explain. While they rendering an app in a view a bit less verbose, they made it harder to get started with this package.
Now the package user is in charge of adding their own script tag, and that's pretty much the only noticeable change.
If you wan't to add something dynamic to your resolves, you can pass a simple callback to resolveEntryWith.
This PR removes everything regarding the
Resolver
and client script tag rendering. They both added assumptions, magic and complexity to the code base, so I think we're better off without them.Most importantly, resolvers are hard to explain. While they rendering an app in a view a bit less verbose, they made it harder to get started with this package.
Now the package user is in charge of adding their own
script
tag, and that's pretty much the only noticeable change.If you wan't to add something dynamic to your resolves, you can pass a simple callback to
resolveEntryWith
.Some public methods have been renamed too:
withContext
->context
withEnv
->env
withFallback
->fallback