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

Cannot split a chunk that has already been edited #1

Closed
liwenfengg opened this issue Aug 16, 2022 · 11 comments
Closed

Cannot split a chunk that has already been edited #1

liwenfengg opened this issue Aug 16, 2022 · 11 comments

Comments

@liwenfengg
Copy link
Contributor

image

@liwenfengg
Copy link
Contributor Author

If you comment out transformerRenameClass, you will not report an error, but the style will not take effect.

@liwenfengg
Copy link
Contributor Author

liwenfengg commented Aug 16, 2022

image
This is the index.html of the project generated by uni-app cli.

@zguolee
Copy link
Member

zguolee commented Aug 16, 2022

I created a project with the npx degit dcloudio/uni-preset-vue#vite-ts uni-vue3 command. and didn't encounter this. Could you provide a repo?

@liwenfengg
Copy link
Contributor Author

I found that it has something to do with the order of transformerVariantGroup and transformerRenameClass in transformers.

image

demo-repo

This is the demo repo, you can have a try.

@liwenfengg
Copy link
Contributor Author

Why so many known and unknown?

image

@zguolee
Copy link
Member

zguolee commented Aug 16, 2022

Why so many known and unknown?

I have deleted the log in the new version, only need to update the next version.

@liwenfengg
Copy link
Contributor Author

Why so many known and unknown?

I have deleted the log in the new version, only need to update the next version.

Ooh, okay.

@zguolee
Copy link
Member

zguolee commented Aug 16, 2022

I found that it has something to do with the order of transformerVariantGroup and transformerRenameClass in transformers.

image

demo-repo

This is the demo repo, you can have a try.

Yes, I don't know if I can solve this problem, I will try it later.

@liwenfengg
Copy link
Contributor Author

image
Another question.
Use uni-easyinput in uni-ui to report this error.
(not when using presetUni)

@liwenfengg
Copy link
Contributor Author

image Another question. Use uni-easyinput in uni-ui to report this error. (not when using presetUni)

demo repo

@zguolee
Copy link
Member

zguolee commented Aug 16, 2022

I found that it has something to do with the order of transformerVariantGroup and transformerRenameClass in transformers.

image

demo-repo

This is the demo repo, you can have a try.

Now transformerRenameClass supports transformerVariantGroup default, you don’t need to introduce transformerVariantGroup.

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

No branches or pull requests

2 participants