Skip to content

Commit

Permalink
feat: remove command modify config (#6849)
Browse files Browse the repository at this point in the history
  • Loading branch information
caohuilin authored Feb 21, 2025
1 parent 9c0c6cb commit 6952cea
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions packages/solutions/app-tools/src/commands/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ export const build = async (
return;
}

api.modifyResolvedConfig(config => {
return { ...config, cliOptions: options };
});

const { distDirectory, appDirectory, serverConfigFile } = appContext;

await buildServerConfig({
Expand Down
4 changes: 0 additions & 4 deletions packages/solutions/app-tools/src/commands/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ export const dev = async (
normalizedConfig?.source?.alias,
);

api.modifyResolvedConfig(config => {
return { ...config, cliOptions: options };
});

const {
appDirectory,
distDirectory,
Expand Down

0 comments on commit 6952cea

Please sign in to comment.