From f3eb1879bbe914e30e453ca5936404392ecfda04 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Fri, 22 Apr 2022 17:09:53 +0100 Subject: [PATCH] fix: actually export esm package --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2ef9a6dc..46371704 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,9 @@ { "type": "module", "name": "revolt.js", - "version": "6.0.0-rc.14", + "version": "6.0.0-rc.15", "main": "dist/index.js", + "module": "esm/index.js", "repository": "https://github.com/revoltchat/revolt.js", "author": "Paul Makles ", "license": "MIT", @@ -81,7 +82,8 @@ }, "files": [ "README.md", - "dist" + "dist", + "esm" ], "description": "Library for interacting with the Revolt API." }