From 16bd94759fd211a079a38a1aea4552541c7d2989 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Murat=20Go=CC=88zel?= Date: Sun, 31 Oct 2021 00:13:21 +0300 Subject: [PATCH] added module export. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 67c9452..5faa154 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mimetext", - "version": "2.0.4", + "version": "2.0.5", "description": "RFC 2822 compliant raw email message generator written in node.js", "exports": { ".": { @@ -25,6 +25,7 @@ } }, "main": "./dist/node/cjs/index.js", + "module": "./dist/node/es/index.js", "scripts": { "test": "for i in tests/*.js; do node \"$i\"; done", "build": "rollup --config rollup.config.js"