From df81d1098d9722dcd5f7bf851cd2ef7db7c5a35e Mon Sep 17 00:00:00 2001 From: Jos de Jong Date: Sat, 15 Aug 2020 10:17:41 +0200 Subject: [PATCH] Fix #1077: change the `main` field in `package.json` to point to the actual bundled and minified file instead of a node.js index file --- HISTORY.md | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index d6f0d00..79c5540 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -6,6 +6,8 @@ https://github.com/josdejong/jsoneditor ## not yet published, version 9.0.4 - Updated dependencies to `ace-builds@1.4.12`, `ajv@6.12.3`. +- Fix #1077: change the `main` field in `package.json` to point to the actual + bundled and minified file instead of a node.js index file. ## 2020-07-02, version 9.0.3 diff --git a/package.json b/package.json index e97b6b1..bd454ba 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jsoneditor", "version": "9.0.3", - "main": "./index", + "main": "./dist/jsoneditor.min.js", "description": "A web-based tool to view, edit, format, and validate JSON", "tags": [ "json",