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

feat: add umi-dayjs-plugin #495

Closed
wants to merge 4 commits into from
Closed

Conversation

iamkun
Copy link

@iamkun iamkun commented Jan 1, 2021

Ref:

ant-design/antd-dayjs-webpack-plugin#47

https://github.com/ant-design/antd-dayjs-webpack-plugin

一个 umi 插件, 使用 antd-dayjs-webpack-plugin 来使用 Day.js 替换项目中的 moment .

@codecov
Copy link

codecov bot commented Jan 1, 2021

Codecov Report

Merging #495 (ab92746) into master (e302a84) will decrease coverage by 3.49%.
The diff coverage is 0.00%.

❗ Current head ab92746 differs from pull request most recent head 70141d2. Consider uploading reports for the commit 70141d2 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master     #495      +/-   ##
==========================================
- Coverage   50.45%   46.96%   -3.50%     
==========================================
  Files          66       67       +1     
  Lines        1631     1563      -68     
  Branches      426      436      +10     
==========================================
- Hits          823      734      -89     
- Misses        806      828      +22     
+ Partials        2        1       -1     
Impacted Files Coverage Δ
packages/plugin-dayjs/src/index.ts 0.00% <0.00%> (ø)
packages/plugin-layout/src/component/logo.tsx 0.00% <0.00%> (-100.00%) ⬇️
packages/plugin-layout/src/layout/blankLayout.tsx 0.00% <0.00%> (-100.00%) ⬇️
...es/plugin-layout/src/component/Exception/index.tsx 0.00% <0.00%> (-84.62%) ⬇️
packages/plugin-layout/src/index.ts 0.00% <0.00%> (-62.97%) ⬇️
packages/plugin-qiankun/src/common.ts 26.41% <0.00%> (-40.86%) ⬇️
packages/plugin-locale/src/index.ts 82.35% <0.00%> (-0.08%) ⬇️
packages/plugin-request/src/request.ts 93.67% <0.00%> (-0.08%) ⬇️
packages/plugin-antd/src/index.ts 0.00% <0.00%> (ø)
packages/plugin-model/src/index.ts 0.00% <0.00%> (ø)
... and 34 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e302a84...70141d2. Read the comment docs.

@afc163
Copy link
Contributor

afc163 commented Feb 22, 2021

@sorrycc 看看?

@sorrycc
Copy link
Member

sorrycc commented Feb 24, 2021

antd 的功能统一放 antd 插件里吧,通过配 antd: { dayjs: {} } 开启。

@iamkun iamkun closed this by deleting the head repository Jul 2, 2024
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.

None yet

4 participants