Skip to content

Commit

Permalink
Update packages/plugins/src/mf.ts
Browse files Browse the repository at this point in the history
Co-authored-by: 咲奈Sakina <[email protected]>
  • Loading branch information
consistent-k and fz6m authored Oct 9, 2023
1 parent 73a4d17 commit 28615c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/plugins/src/mf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ export default function mf(api: IApi) {
);
}

const useHash = api.config.mf.remoteHash && api.env !== 'development';
const useHash = typeof api.config.mf.remoteHash === 'boolean'
? api.config.mf.remoteHash
: (api.config.hash && api.env !== 'development');

const mfConfig = {
name,
Expand Down

0 comments on commit 28615c6

Please sign in to comment.