We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 281b0bd commit 106bfddCopy full SHA for 106bfdd
src/nuxt.ts
@@ -5,11 +5,11 @@
5
*/
6
7
import { addVitePlugin, addWebpackPlugin, defineNuxtModule } from "@nuxt/kit";
8
+import type { NuxtModule } from "@nuxt/schema";
9
import { NUXT_CONFIG_KEY, PLUGIN_NAME } from "./constants";
10
import vite from "./vite";
11
import webpack from "./webpack";
12
import type { YamlOptions } from "./";
-import type {} from "@nuxt/schema";
13
14
/**
15
* Nuxt plugin
@@ -38,4 +38,4 @@ export default defineNuxtModule<YamlOptions>({
38
addWebpackPlugin(() => webpack(options));
39
addVitePlugin(() => vite(options));
40
},
41
-});
+}) as NuxtModule<YamlOptions>;
0 commit comments