mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-30 11:47:54 +01:00
update export paths
This commit is contained in:
1
client.d.ts
vendored
Normal file
1
client.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export * from './dist/runtime/client'
|
||||||
10
package.json
10
package.json
@@ -12,9 +12,13 @@
|
|||||||
"import": "./dist/module.mjs",
|
"import": "./dist/module.mjs",
|
||||||
"require": "./dist/module.cjs"
|
"require": "./dist/module.cjs"
|
||||||
},
|
},
|
||||||
"./api": {
|
"./server": {
|
||||||
"import": "./dist/runtime/api.mjs",
|
"import": "./dist/runtime/server.mjs",
|
||||||
"types": "./dist/runtime/api.d.ts"
|
"types": "./dist/runtime/server.d.ts"
|
||||||
|
},
|
||||||
|
"./client": {
|
||||||
|
"import": "./dist/runtime/client.mjs",
|
||||||
|
"types": "./dist/runtime/client.d.ts"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
|
|||||||
1
server.d.ts
vendored
Normal file
1
server.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export * from './dist/runtime/server'
|
||||||
Reference in New Issue
Block a user