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后丢失样式 #131

Closed
lplsirlu opened this issue Dec 8, 2022 · 3 comments
Closed

build后丢失样式 #131

lplsirlu opened this issue Dec 8, 2022 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@lplsirlu
Copy link

lplsirlu commented Dec 8, 2022

image
image

dev没有问题,但是build后丢失了

@lplsirlu lplsirlu added the bug Something isn't working label Dec 8, 2022
@lplsirlu
Copy link
Author

lplsirlu commented Dec 8, 2022

"weapp-tailwindcss-webpack-plugin": "^1.12.6"
taro 3.4.9

@sonofmagic
Copy link
Owner

我自个 build 了一下,挺奇怪的哦
image
你要不加我微信把,就在我的github profile 或者 npx sonofmagic@latest 里有,看看这 build 到底是啥问题

sonofmagic added a commit that referenced this issue Dec 8, 2022
@sonofmagic
Copy link
Owner

这个问题是由于在 prod 环境使用了 taro-plugin-compiler-optimization 这个插件导致的,这个插件应该有 bug ,去除之后就好了

@sonofmagic sonofmagic added question Further information is requested and removed bug Something isn't working labels Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants