Skip to content

[Enhancement]: Allow configuring Tailwind CDN URL for Artifacts #15828

Description

@seonam

What features would you like to see added?

The Tailwind resource used by Artifacts is currently hardcoded:

const TAILWIND_CDN = 'https://cdn.tailwindcss.com/3.4.17#tailwind.js';

In restricted or offline environments, this external request can stay pending until it eventually fails, which delays the Artifact preview.

It would be helpful to make this resource configurable, for example through an environment variable or another configuration option, so self-hosted deployments can use an internally hosted resource or disable the external resource entirely.

More details

The current Tailwind CDN URL could remain as the default to preserve existing behavior.

Which components are impacted by your request?

Other

Pictures

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions