mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-14 12:14:40 +01:00
more cleanup
This commit is contained in:
@@ -49,8 +49,8 @@ export default defineNuxtModule<ModuleOptions>({
|
||||
write: true,
|
||||
getContents() {
|
||||
return dedent`
|
||||
import { createTRPCHandler } from ${JSON.stringify(join(runtimeDir, 'api'))}
|
||||
import * as functions from '${trpcOptionsPath}'
|
||||
import { createTRPCHandler } from ${JSON.stringify(join(runtimeDir, 'api'))};
|
||||
import * as functions from ${JSON.stringify(trpcOptionsPath)};
|
||||
|
||||
export default createTRPCHandler({
|
||||
...functions,
|
||||
|
||||
Reference in New Issue
Block a user