windicss/windicss-webpack-plugin

bug: pitcher-loader affect other webpack plugin

Albert-cord opened this issue · 0 comments

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)