From 2fdb7288829979dc4d704fd4147853b622878863 Mon Sep 17 00:00:00 2001 From: Tatiana Lagodich Date: Sun, 1 Sep 2024 17:30:42 +0400 Subject: [PATCH] fix: npm build --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 05b2a8c..1451fde 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,9 @@ "name": "iter8or", "version": "1.0.1", "description": "A versatile library for working with iterators and asynchronous iterators in JavaScript. It provides powerful methods for processing, filtering, combining, and transforming data, and even allows the creation of iterators from non-iterable objects.", - "main": "dist/index.js", + "main": "dist/iter8or.cjs.js", + "module": "dist/iter8or.esm.js", "type": "module", - "module": "dist/index.esm.js", "keywords": ["javascript", "javascript-library", "iterator", "iterators", "async-iterators", "async-iterator"], "author": "Tanya Lagodich", "repository": "https://github.com/TanyaLagodich/Iter8or.git",