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

bug: pitcher-loader affect other webpack plugin #72

Closed
Albert-cord opened this issue May 9, 2021 · 0 comments · Fixed by #73
Closed

bug: pitcher-loader affect other webpack plugin #72

Albert-cord opened this issue May 9, 2021 · 0 comments · Fixed by #73

Comments

@Albert-cord
Copy link
Contributor

Hello, I found a bug.
Version
0.5.0

Reproduction link
This is difficult to reproduce.
Because special circumstances are needed, such as when using vue3 to apply taro, and when using taro-plugin-tailwind to apply windicss, it can be reproduced when the target of the build application is weapp.

Steps to reproduce
In the above case, run the miniprogram DevTools, Vue program is not generated by connection. Because under normal circumstances, The Webpack-loaders is like this.
image
The first loader is taro-loader, so pitcher-loader cause this situation.

What is expected?
The plugin cannot affect other plugin.

What is actually happening?
The plugin affect other plugin.

#

this.loaders.splice(0, 1)

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.

2 participants