You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently there is a next/asset module that isn't in use anywhere. It's main purpose is to prefix /static with the assetPrefix, it only works for /static, so it doesn't really expose the assetPrefix for usage.
Describe the solution you'd like
Removes this module to reduce API surface. It's currently being bundled even when not used because we have to instantiate the module.
Describe alternatives you've considered
I currently don't see a valid use-case for this API. I'm pretty confident we can remove it, it was never documented in the readme, it's not in use in zeit.co / nextjs.org and I reached out to a few users to see if they used it, which was not the case, because it was never documented and doesn't serve a wealth of use cases.
The text was updated successfully, but these errors were encountered:
timneutkens
changed the title
[RFC] Remove next/asset as it's undocumented / not really useful
[RFC] Remove next/asset as it's undocumented
Dec 31, 2018
Feature request
Is your feature request related to a problem? Please describe.
Currently there is a
next/asset
module that isn't in use anywhere. It's main purpose is to prefix/static
with theassetPrefix
, it only works for/static
, so it doesn't really expose theassetPrefix
for usage.Describe the solution you'd like
Removes this module to reduce API surface. It's currently being bundled even when not used because we have to instantiate the module.
Describe alternatives you've considered
I currently don't see a valid use-case for this API. I'm pretty confident we can remove it, it was never documented in the readme, it's not in use in zeit.co / nextjs.org and I reached out to a few users to see if they used it, which was not the case, because it was never documented and doesn't serve a wealth of use cases.
The text was updated successfully, but these errors were encountered: