Skip to content

Bundle & CDN providers for serverless environment #426

Description

@Buzut

Hey there,

I find the docs a bit puzzling on a few points. It first says:

It's highly recommended to install the icon data locally with

npm i -D @iconify-json/collection-name

And later on explains that "Server Bundle Mode: auto is the default for serverless:

This is the default option, where the module will pick between local and remote based your deployment environment. local will be preffered unless you are deploying to a serverless or worker environment, like Vercel Edge or Cloudflare Workers.

So in serverless environments, is it still recommended to locally install the icon sets, if so, why?

Maybe I missed some details, but I thought that might not be clear for everyone.

I'll be happy to improve the docs as soon as it clears out in my brain 🧠

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions