Skip to content

Commit

Permalink
chore: code structure (#7790)
Browse files Browse the repository at this point in the history
  • Loading branch information
fireairforce committed Apr 19, 2022
1 parent 474d5c2 commit 5f7fe00
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/vite/src/node/server/index.ts
Expand Up @@ -300,8 +300,7 @@ export async function createServer(
inlineConfig: InlineConfig = {}
): Promise<ViteDevServer> {
const config = await resolveConfig(inlineConfig, 'serve', 'development')
const root = config.root
const serverConfig = config.server
const { root, server: serverConfig } = config
const httpsOptions = await resolveHttpsConfig(
config.server.https,
config.cacheDir
Expand Down

0 comments on commit 5f7fe00

Please sign in to comment.