Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsmedley committed Mar 7, 2024
1 parent 37f8922 commit 719d250
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/objectManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { unixfs } from "@helia/unixfs";
import { FsBlockstore } from "blockstore-fs";
import { MemoryDatastore } from "datastore-core";
// Utility Imports
import { createReadStream, createWriteStream, ReadStream } from "node:fs";
import { createReadStream, createWriteStream } from "node:fs";
import { mkdir, rm, open } from "node:fs/promises";
import os from "node:os";
import path from "node:path";
Expand Down
18 changes: 13 additions & 5 deletions tsup.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
import { defineConfig } from 'tsup'
import { defineConfig } from "tsup";

export default defineConfig({
entry: ['src/index.js'],
entry: ["src/index.js"],
splitting: false,
sourcemap: false,
noExternal: ['@ipld/car', '@helia/car', '@helia/unixfs', 'blockstore-fs'],
noExternal: [
"@ipld/car",
"@helia/car",
"@helia/unixfs",
"@helia/mfs",
"blockstore-fs",
"datastore-core",
"p-queue",
],
dts: true,
format: ['cjs'],
format: ["cjs"],
clean: true,
})
});

0 comments on commit 719d250

Please sign in to comment.