Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cdn_upload 用户自定义函数增加 #36

Merged
merged 16 commits into from
Aug 12, 2024
Merged

Conversation

lgldlk
Copy link
Contributor

@lgldlk lgldlk commented Aug 6, 2024

cdn-add-script vite/webpack插件

  1. vite : transformIndexHtml 收集 要html中更换的主js,css,closeBundle中进行回掉上传和替换
  2. webpack : processAssets收集 要html中更换的主js,css ,afterEmit 中进行上传和替换

@lgldlk lgldlk requested a review from sulgweb August 7, 2024 15:58
@lgldlk lgldlk changed the title Feature/cdn custom upload cdn_upload 用户自定义函数增加 Aug 7, 2024
@sulgweb
Copy link
Contributor

sulgweb commented Aug 8, 2024

自定义上传时,如果 cdn 链接异常,应该自动降级为原链接

@sulgweb sulgweb merged commit 90f9ed0 into master Aug 12, 2024
2 checks passed
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.

2 participants