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/compiler-sfc": "3.5.13",
|
||||||
"@vue/language-core": "2.2.0",
|
"@vue/language-core": "2.2.0",
|
||||||
"c12": "2.0.1",
|
"c12": "2.0.1",
|
||||||
|
"chokidar": "4.0.3",
|
||||||
"compatx": "0.1.8",
|
"compatx": "0.1.8",
|
||||||
"esbuild-loader": "4.2.2",
|
"esbuild-loader": "4.2.2",
|
||||||
"file-loader": "6.2.0",
|
"file-loader": "6.2.0",
|
||||||
|
@ -519,6 +519,7 @@ export default defineUntypedSchema({
|
|||||||
/**
|
/**
|
||||||
* Options to pass directly to `chokidar`.
|
* Options to pass directly to `chokidar`.
|
||||||
* @see [chokidar](https://github.com/paulmillr/chokidar#api)
|
* @see [chokidar](https://github.com/paulmillr/chokidar#api)
|
||||||
|
* @type {typeof import('chokidar').ChokidarOptions}
|
||||||
*/
|
*/
|
||||||
chokidar: {
|
chokidar: {
|
||||||
ignoreInitial: true,
|
ignoreInitial: true,
|
||||||
|
@ -88,6 +88,7 @@ export const bundle: NuxtBuilder['bundle'] = async (nuxt) => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
chokidar: nuxt.options.watchers.chokidar,
|
||||||
exclude: nuxt.options.ignore,
|
exclude: nuxt.options.ignore,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -690,6 +690,9 @@ importers:
|
|||||||
c12:
|
c12:
|
||||||
specifier: 2.0.1
|
specifier: 2.0.1
|
||||||
version: 2.0.1(magicast@0.3.5)
|
version: 2.0.1(magicast@0.3.5)
|
||||||
|
chokidar:
|
||||||
|
specifier: ^4.0.3
|
||||||
|
version: 4.0.3
|
||||||
compatx:
|
compatx:
|
||||||
specifier: 0.1.8
|
specifier: 0.1.8
|
||||||
version: 0.1.8
|
version: 0.1.8
|
||||||
|
Loading…
Reference in New Issue
Block a user