Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

fix(schema): only disallow vite server port and host #7554

Merged
merged 2 commits into from Sep 15, 2022

Conversation

manniL
Copy link
Member

@manniL manniL commented Sep 15, 2022

πŸ”— Linked issue

#7317 (comment)

❓ Type of change

  • 🐞 Bug fix (a non-breaking change that fixes an issue)

πŸ“š Description

So options like hmr can be configured seamlessly.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@netlify
Copy link

netlify bot commented Sep 15, 2022

βœ… Deploy Preview for nuxt3-docs canceled.

Name Link
πŸ”¨ Latest commit 5a137f1
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/6323159af91aa600088d9e9a

…c/types/config.ts

index 60f9e5e7..129844dc 100644
--- a/packages/schema/src/types/config.ts
+++ b/packages/schema/src/types/config.ts
@@ -1,6 +1,6 @@
 import type { KeepAliveProps, TransitionProps } from 'vue'
 import { ConfigSchema } from '../../schema/config'
-import type { ViteServerOptions, UserConfig as ViteUserConfig } from 'vite'
+import type { ServerOptions as ViteServerOptions, UserConfig as ViteUserConfig } from 'vite'
 import type { Options as VuePluginOptions } from '@vitejs/plugin-vue'
 import type { MetaObject } from './meta'
 import type { Nuxt } from './nuxt'
@pi0 pi0 merged commit 1f3d9a1 into nuxt:main Sep 15, 2022
@manniL manniL deleted the fix/vite-server-types branch September 15, 2022 12:23
@tobiasdiez
Copy link
Contributor

Thanks for the quick fix!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants