Skip to content

Commit

Permalink
fix: plugin not work when serve
Browse files Browse the repository at this point in the history
  • Loading branch information
liximomo committed Aug 10, 2022
1 parent 8f2729d commit 76dd462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shuvi/src/cmds/serve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default async function main(argv: string[]) {
const cwd = getProjectDir(program);
const port = Number(program.port) || 3000;
const host = program.host || 'localhost';
const { plugins, presets, ...config } = await getConfigFromCli(cwd, program);
const config = await getConfigFromCli(cwd, program);
const api = await initShuvi({
cwd,
config
Expand Down

0 comments on commit 76dd462

Please sign in to comment.