Skip to content

fix(docs): replace unpkg in codepen w/ jsdelivr - #3475

Open
SukkaW wants to merge 1 commit into
arco-design:mainfrom
SukkaW:jsd
Open

fix(docs): replace unpkg in codepen w/ jsdelivr#3475
SukkaW wants to merge 1 commit into
arco-design:mainfrom
SukkaW:jsd

Conversation

@SukkaW

@SukkaW SukkaW commented Mar 15, 2025

Copy link
Copy Markdown

Types of changes

  • New feature
  • Bug fix
  • Enhancement
  • Component style change
  • Typescript definition change
  • Documentation change
  • Coding style change
  • Refactoring
  • Test cases
  • Continuous integration
  • Breaking change
  • Others

Background and context

UNPKG has not been actively maintained and has been down since Mar 15, 2025 was down from Mar 15, 2025, 2:00 AM and down for 18 hours (unpkg/unpkg#412). Migrating to jsDelivr means a more stable and reliant service.

This breaks existing codepens.

Solution

The PR replaces UNPKG usage with jsDelivr so that codepen works again.

How is the change tested?

This can be tested by spinning up the local development environment and see if the newly created codepen works or not.

Changelog

Component Changelog(CN) Changelog(EN) Related issues

Checklist:

  • Test suite passes (npm run test)
  • Provide changelog for relevant changes (e.g. bug fixes and new features) if applicable.
  • Changes are submitted to the appropriate branch (e.g. features should be submitted to feature branch and others
    should be submitted to main branch)

Other information

@codesandbox

codesandbox Bot commented Mar 15, 2025

Copy link
Copy Markdown

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@SukkaW

SukkaW commented Mar 31, 2025

Copy link
Copy Markdown
Author

UNPKG was down again from Mar 31, 2025, 7:00 AM UTC and lasted 8 hours (unpkg/unpkg#443), I urge everyone to immediately migrate away from unpkg to jsDelivr now.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant