windicss / windicss-webpack-plugin

🍃 Windi CSS for webpack ⚡
https://windicss.org/integrations/webpack.html
79 stars 19 forks source link

My change of class name does not take effect in umijs and needs to be restarted to take effect. #107

Open SuperHuangXu opened 2 years ago

SuperHuangXu commented 2 years ago

To Reproduce Steps to reproduce the behavior:

  1. Clone repository https://github.com/windicss/windicss-webpack-plugin/blob/main/example/umijs/README.md
  2. Run '....'
  3. See error
jiangyh1024 commented 2 years ago

+1

bobkangkang commented 2 years ago

i think umi not supported virtual css in class, reset projects can take effect when you change class.@apply also good choose

bobkangkang commented 2 years ago

i find delete mfsu configuration in .umirc.ts can be useful

harlan-zw commented 2 years ago

I think UMI may be rolling a custom HMR or something. I'm not too familiar with the project sorry, would appreicate any help with this issue