Skip to content

Commit

Permalink
chore: remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
fz6m committed Nov 14, 2023
1 parent b597c5d commit 1b9682d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/preset-umi/src/features/legacy/legacy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,9 @@ export default (api: IApi) => {
// specify a low-compatibility target for babel transform
const ieTarget = userConfig.targets?.ie || api.config.targets?.ie || 11;
memo.targets = {
...userConfig.targets,
ie: ieTarget,
};
logger.info(
`${legacyModeLabel} set compatiable target to ${chalk.yellow(
`ie ${ieTarget}`,
)}`,
);

logger.info(
`${legacyModeLabel} is enabled, we automatically modify the ${[
Expand Down

0 comments on commit 1b9682d

Please sign in to comment.