From 719d2500a42eb49084440de90628560c98ba016e Mon Sep 17 00:00:00 2001 From: jtsmedley <38006759+jtsmedley@users.noreply.github.com> Date: Thu, 7 Mar 2024 15:31:26 -0600 Subject: [PATCH] Fixes --- src/objectManager.js | 2 +- tsup.config.js | 18 +++++++++++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/objectManager.js b/src/objectManager.js index ed8a081..af4897c 100644 --- a/src/objectManager.js +++ b/src/objectManager.js @@ -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"; diff --git a/tsup.config.js b/tsup.config.js index 0352edd..a088dea 100644 --- a/tsup.config.js +++ b/tsup.config.js @@ -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, -}) +});