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

build, applyCssTransform not work #1900

Closed
MellowCo opened this issue Nov 22, 2022 · 2 comments · Fixed by #1926
Closed

build, applyCssTransform not work #1900

MellowCo opened this issue Nov 22, 2022 · 2 comments · Fixed by #1926

Comments

@MellowCo
Copy link
Contributor

minimal reproducible example

in wechat miniprogram use rpx as size unit,but in uniapp it will according to the compilation environment, rpx will be transferred to rem in h5,so applyCssTransform will be used.

but unocss@0.46.5 in build mode , applyCssTransform was deleted, #1872

@MellowCo
Copy link
Contributor Author

minimal reproducible example

dev

run in h5

nr dev:h5

rpx will be transferred to rem, is ok

image

@MellowCo
Copy link
Contributor Author

MellowCo commented Nov 22, 2022

minimal reproducible example

build

run build h5

nr build:h5

build in dist/build/h5, open it in browser

rpx not transferred to rem , applyCssTransform was deleted

image

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 a pull request may close this issue.

1 participant