Skip to content

Commit

Permalink
fix(mako): enable mako on windows failed (#12663)
Browse files Browse the repository at this point in the history
error:  Error: Cannot find module '@umijs/mako-win32-x64-msvc'

Co-authored-by: 刘文壮 <[email protected]>
  • Loading branch information
liuwenzhuang and 刘文壮 authored Sep 5, 2024
1 parent 6665b61 commit 99e49e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/preset-umi/src/features/mako/mako.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export default (api: IApi) => {
if (isWindows) {
memo.mako = false;
process.env.OKAM = '';
return memo;
}
const makoPlugins = memo.mako?.plugins || [];
if (!api.config.mpa) {
Expand Down

0 comments on commit 99e49e7

Please sign in to comment.