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

fix: fix windows path #44734

Merged
merged 1 commit into from
Sep 10, 2023
Merged

fix: fix windows path #44734

merged 1 commit into from
Sep 10, 2023

Conversation

yoyo837
Copy link
Contributor

@yoyo837 yoyo837 commented Sep 9, 2023

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Workflow
  • Other (about what?)

🔗 Related issue link

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English
🇨🇳 Chinese

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

🚀 Summary

🤖 Generated by Copilot at 863e979

Fixed dynamic imports of style files in generate-cssinjs.ts script and improved code formatting.

🔍 Walkthrough

🤖 Generated by Copilot at 863e979

  • Import the url module to convert file paths to file URLs for dynamic imports (link)
  • Declare the absPath variable to store the file URL of the current style file (link)
  • Use the absPath variable instead of the file variable for dynamic imports of style files in both branches of the conditional statement (link, link)
  • Reformat the code for readability and consistency (link)

@stackblitz
Copy link

stackblitz bot commented Sep 9, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 9, 2023

  • 🚨 Please fill changelog in the PR

    • Write with a developer-oriented perspective and narrative method, without describing the details of the repair
    • Describing the problem and the impact on the developer
    • describing the user-first site problem, not your solution
    • Refer: https://ant.design/changelog#501
  • 🚨 请填写 PR 中的 changelog

    • 请用面向开发者的角度叙述方式撰写,不描述修复细节
    • 描述问题和对开发者的影响
    • 描述用户第一现场的问题,而非你的解决方式
    • 参考:https://ant.design/changelog-cn#501

@github-actions
Copy link
Contributor

github-actions bot commented Sep 9, 2023

@github-actions
Copy link
Contributor

github-actions bot commented Sep 9, 2023

size-limit report 📦

Path Size
./dist/antd.min.js 393.42 KB
./dist/antd-with-locales.min.js 452.62 KB

@argos-ci
Copy link

argos-ci bot commented Sep 9, 2023

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No change detected - Sep 9, 2023, 4:58 PM

@codecov
Copy link

codecov bot commented Sep 9, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (32d0a1f) 100.00% compared to head (863e979) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##            master    #44734   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          680       680           
  Lines        11417     11417           
  Branches      3073      3073           
=========================================
  Hits         11417     11417           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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