From 6d5c70092fbe452a53184d56ef56d7999d21135b Mon Sep 17 00:00:00 2001 From: Matteo Pietro Dazzi Date: Mon, 29 Apr 2024 20:05:20 +0200 Subject: [PATCH] fix: cjs interop --- examples/fastify/src/index.mjs | 1 + package.json | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/fastify/src/index.mjs b/examples/fastify/src/index.mjs index 61b0125..5a8dcaa 100644 --- a/examples/fastify/src/index.mjs +++ b/examples/fastify/src/index.mjs @@ -3,6 +3,7 @@ import { stringify } from "@ilteoood/re-flusso/ndJson/stringify"; import { pipeline } from "@ilteoood/re-flusso/pipeline"; import fastify from "fastify"; import { Readable } from "node:stream"; +import { ReadableStream } from "node:stream/web"; const server = fastify(); diff --git a/package.json b/package.json index 19ae61b..4bc6474 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,6 @@ "license": "MIT", "exports": { "./*": { - "types": "./dist/*.d.ts", "import": "./dist/*.js", "require": "./dist/*.cjs" }