Skip to content

Commit 5f28131

Browse files
committed
fix: change export to named export
1 parent 2b5cde0 commit 5f28131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue-query-nuxt/src/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default defineNuxtModule<VueQueryOptions>({
3434

3535
// 4. Write pluginCallback() to .nuxt
3636
const writeFile = async () => {
37-
let getContents = async () => "export default function pluginCallback() {}"
37+
let getContents = async () => "export function pluginCallback() {}"
3838
if (existsSync(resolve(nuxt.options.rootDir, "vue-query.config.ts"))) {
3939
const configFile = resolve(nuxt.options.rootDir, "vue-query.config.ts")
4040
const file = await loadFile(configFile)

0 commit comments

Comments
 (0)