From d53b8575aa8b93907f8bf127f36d9dfc10821478 Mon Sep 17 00:00:00 2001 From: Erik Ziegler Date: Mon, 4 Apr 2022 06:05:53 +0200 Subject: [PATCH] fix: Correct module property for ESM builds in package.json (#66) Thanks @ty-ler ! --- packages/streaming-image-volume-loader/package.json | 2 +- packages/tools/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/streaming-image-volume-loader/package.json b/packages/streaming-image-volume-loader/package.json index d66e1f47d3..eeec257f7f 100644 --- a/packages/streaming-image-volume-loader/package.json +++ b/packages/streaming-image-volume-loader/package.json @@ -4,7 +4,7 @@ "description": "", "main": "dist/umd/index.js", "types": "dist/esm/index.d.ts", - "module": "dist/esm/index.ts", + "module": "dist/esm/index.js", "files": [ "dist/" ], diff --git a/packages/tools/package.json b/packages/tools/package.json index 91fed611b1..33299e6ea0 100644 --- a/packages/tools/package.json +++ b/packages/tools/package.json @@ -4,7 +4,7 @@ "description": "Cornerstone3D Tools", "main": "dist/umd/index.js", "types": "dist/esm/index.d.ts", - "module": "dist/esm/index.ts", + "module": "dist/esm/index.js", "files": [ "dist/" ],