From 9c0253afe6d29b985fd0db005056f2781c374246 Mon Sep 17 00:00:00 2001 From: Simon Reinisch Date: Fri, 10 May 2024 16:08:00 +0200 Subject: [PATCH] Add module entry to package.json Closes #323 --- .gitignore | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 41082382..81b7b22c 100644 --- a/.gitignore +++ b/.gitignore @@ -68,3 +68,4 @@ typings/ # My psd files /_psd +/dist diff --git a/package.json b/package.json index c2d2a1e2..e8d0e1cc 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "color-picker" ], "main": "./dist/pickr.min.js", - "typings": "./types/pickr.d.ts", + "types": "./types/pickr.d.ts", + "module": "./dist/pickr.min.js", "scripts": { "build": "node ./scripts/build.js", "dev": "webpack serve --mode development",