mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-20 05:06:31 +00:00
fix(tools): correct path separators in package exports and update tsdown config
This commit is contained in:
parent
b73b4cb53e
commit
699e34d223
2 changed files with 5 additions and 3 deletions
|
|
@ -51,8 +51,8 @@
|
|||
"./ai-sdk": "./dist/ai-sdk.js",
|
||||
"./claude-memory": "./dist/claude-memory.js",
|
||||
"./mastra": "./dist/mastra.js",
|
||||
"./openai\\index": "./dist/openai\\index.js",
|
||||
"./voltagent\\index": "./dist/voltagent\\index.js",
|
||||
"./openai": "./dist/openai/index.js",
|
||||
"./voltagent": "./dist/voltagent/index.js",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"repository": {
|
||||
|
|
|
|||
|
|
@ -18,6 +18,8 @@ export default defineConfig({
|
|||
dts: {
|
||||
sourcemap: false,
|
||||
},
|
||||
exports: true,
|
||||
// exports are hand-maintained in package.json: tsdown's generator emits
|
||||
// native path separators, producing broken "./openai\\index" on Windows.
|
||||
exports: false,
|
||||
unbundle: true,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue