mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-22 11:22:43 +00:00
fix(schema,vite): set type of watchers.chokidar
and pass to vite
This commit is contained in:
parent
16d213bbdc
commit
39aba7333f
@ -44,6 +44,7 @@
|
||||
"@vue/compiler-sfc": "3.5.13",
|
||||
"@vue/language-core": "2.2.0",
|
||||
"c12": "2.0.1",
|
||||
"chokidar": "4.0.3",
|
||||
"compatx": "0.1.8",
|
||||
"esbuild-loader": "4.2.2",
|
||||
"file-loader": "6.2.0",
|
||||
|
@ -519,6 +519,7 @@ export default defineUntypedSchema({
|
||||
/**
|
||||
* Options to pass directly to `chokidar`.
|
||||
* @see [chokidar](https://github.com/paulmillr/chokidar#api)
|
||||
* @type {typeof import('chokidar').ChokidarOptions}
|
||||
*/
|
||||
chokidar: {
|
||||
ignoreInitial: true,
|
||||
|
@ -88,6 +88,7 @@ export const bundle: NuxtBuilder['bundle'] = async (nuxt) => {
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
chokidar: nuxt.options.watchers.chokidar,
|
||||
exclude: nuxt.options.ignore,
|
||||
},
|
||||
},
|
||||
|
@ -690,6 +690,9 @@ importers:
|
||||
c12:
|
||||
specifier: 2.0.1
|
||||
version: 2.0.1(magicast@0.3.5)
|
||||
chokidar:
|
||||
specifier: ^4.0.3
|
||||
version: 4.0.3
|
||||
compatx:
|
||||
specifier: 0.1.8
|
||||
version: 0.1.8
|
||||
|
Loading…
Reference in New Issue
Block a user