Skip to content

fix(chore): replace unpkg with npmmirror - #149

Merged
wenmine merged 9 commits into
opentiny:developfrom
chilingling:fix/useNpmregistryCDN
Dec 15, 2023
Merged

wenmine merged 9 commits into
opentiny:developfrom
chilingling:fix/useNpmregistryCDN

Conversation

@chilingling

@chilingling chilingling commented Dec 14, 2023 •

Copy link
Copy Markdown
Member

English | 简体中文

PR

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our Commit Message Guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • Built its own designer, fully self-validated

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

Background and solution

What is the current behavior?

local development using importmap
本地开发环境使用 importmap,unpkg 被墙时会导致不可用

Issue Number: N/A

What is the new behavior?

local development not using importmap, change to local node_modules
本地开发环境使用 node_modules,避免本地开发环境不可用

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

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

Labels

enhancement New feature or request ready_for_review This PR requires more reviews ready to merge This PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants