@nuxt/schema-nightly 4.2.0-29333647.e317fd54 → 4.2.0-29333825.6cbfa2c8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +9 -1
- package/dist/index.d.ts +9 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -757,8 +757,9 @@ interface NuxtHooks {
|
|
|
757
757
|
* @param viteInlineConfig The vite inline config object
|
|
758
758
|
* @param env Server or client
|
|
759
759
|
* @returns Promise
|
|
760
|
+
* @deprecated
|
|
760
761
|
*/
|
|
761
|
-
'vite:extendConfig': (viteInlineConfig: ViteConfig
|
|
762
|
+
'vite:extendConfig': (viteInlineConfig: Readonly<ViteConfig>, env: {
|
|
762
763
|
isClient: boolean;
|
|
763
764
|
isServer: boolean;
|
|
764
765
|
}) => HookResult;
|
|
@@ -767,6 +768,7 @@ interface NuxtHooks {
|
|
|
767
768
|
* @param viteInlineConfig The vite inline config object
|
|
768
769
|
* @param env Server or client
|
|
769
770
|
* @returns Promise
|
|
771
|
+
* @deprecated
|
|
770
772
|
*/
|
|
771
773
|
'vite:configResolved': (viteInlineConfig: Readonly<ViteConfig>, env: {
|
|
772
774
|
isClient: boolean;
|
|
@@ -2249,6 +2251,12 @@ interface ConfigSchema {
|
|
|
2249
2251
|
* Whether to improve chunk stability by using an import map to resolve the entry chunk of the bundle.
|
|
2250
2252
|
*/
|
|
2251
2253
|
entryImportMap: boolean;
|
|
2254
|
+
/**
|
|
2255
|
+
* Whether to enable `@dxup/nuxt` module for better TypeScript DX.
|
|
2256
|
+
*
|
|
2257
|
+
* @see https://github.com/KazariEX/dxup
|
|
2258
|
+
*/
|
|
2259
|
+
typescriptPlugin: boolean;
|
|
2252
2260
|
};
|
|
2253
2261
|
/**
|
|
2254
2262
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -757,8 +757,9 @@ interface NuxtHooks {
|
|
|
757
757
|
* @param viteInlineConfig The vite inline config object
|
|
758
758
|
* @param env Server or client
|
|
759
759
|
* @returns Promise
|
|
760
|
+
* @deprecated
|
|
760
761
|
*/
|
|
761
|
-
'vite:extendConfig': (viteInlineConfig: ViteConfig
|
|
762
|
+
'vite:extendConfig': (viteInlineConfig: Readonly<ViteConfig>, env: {
|
|
762
763
|
isClient: boolean;
|
|
763
764
|
isServer: boolean;
|
|
764
765
|
}) => HookResult;
|
|
@@ -767,6 +768,7 @@ interface NuxtHooks {
|
|
|
767
768
|
* @param viteInlineConfig The vite inline config object
|
|
768
769
|
* @param env Server or client
|
|
769
770
|
* @returns Promise
|
|
771
|
+
* @deprecated
|
|
770
772
|
*/
|
|
771
773
|
'vite:configResolved': (viteInlineConfig: Readonly<ViteConfig>, env: {
|
|
772
774
|
isClient: boolean;
|
|
@@ -2249,6 +2251,12 @@ interface ConfigSchema {
|
|
|
2249
2251
|
* Whether to improve chunk stability by using an import map to resolve the entry chunk of the bundle.
|
|
2250
2252
|
*/
|
|
2251
2253
|
entryImportMap: boolean;
|
|
2254
|
+
/**
|
|
2255
|
+
* Whether to enable `@dxup/nuxt` module for better TypeScript DX.
|
|
2256
|
+
*
|
|
2257
|
+
* @see https://github.com/KazariEX/dxup
|
|
2258
|
+
*/
|
|
2259
|
+
typescriptPlugin: boolean;
|
|
2252
2260
|
};
|
|
2253
2261
|
/**
|
|
2254
2262
|
*
|