-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
can't use mfsu #92
Comments
Hey @transtone Guessing this is the same issue as windicss/vue-cli-plugin-windicss#26 ? So either add the ignore for windi or you can try import |
webpack5's mfsu not use |
Are yu able to provide a reproduction repo for me |
this is a reproduction repo: |
Hey @transtone Thanks for the reproduction link. I've looked into it, it seems like an issue with the MFSU and virtual modules. I've made an issue on the umi repo umijs/umi#7303, will sort out a proper fix if they get back to me. For now, if you really want to get it running, you can disable mfsu:
You will also need to import windi as
|
now, umi4 has provided tailwind plugin that work in msfu mode as well. I tried to write a windicss plugin referring to this tailwind plugin, but failed. |
Describe the bug
AssertionError [ERR_ASSERTION]: [MFSU] package.json not found for dep windi.css which is imported from @/app.js
umi3 项目配置开启 msfu 时,会报找不到
windi.css
的错误。The text was updated successfully, but these errors were encountered: