Skip to content

Commit

Permalink
chore(scaffold): add core for necessary plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
hal-wang committed Apr 7, 2024
1 parent 1dda643 commit 906b43c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/services/scaffold.services/copy-scaffold.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ export class CopyScaffoldService {
addFromConfig(pluginConfig.devDependencies);

plugins = await this.sortPluginsService.sortPlugins(plugins, false);
plugins.push("cli");
["cli", "core"].forEach(
(plugin) => !plugins.includes(plugin) && plugins.push(plugin),
);
return plugins;
}

Expand Down

0 comments on commit 906b43c

Please sign in to comment.