From 736efb098175b915d3d5c150db096b8d62a2fb06 Mon Sep 17 00:00:00 2001 From: Adrien Delhorme Date: Tue, 29 Sep 2020 14:23:52 +0200 Subject: [PATCH] Add a "main" entry point in package.json When installing `sidr` with `npm`, we cannot import it with `var sidr = require("sidr")` because the main entry point is missing in `package.json` file. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 6a980b0..640dfef 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ }, "bugs": "https://github.com/artberri/sidr/issues", "license": "MIT", + "main": "dist/jquery.sidr.js", "engines": { "node": ">= 0.6.0" },