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

This commit is contained in:
Jos de Jong 2020-08-15 10:17:41 +02:00
parent e92bdf407f
commit df81d1098d
2 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,8 @@ https://github.com/josdejong/jsoneditor
## not yet published, version 9.0.4 ## not yet published, version 9.0.4
- Updated dependencies to `ace-builds@1.4.12`, `ajv@6.12.3`. - 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 ## 2020-07-02, version 9.0.3

View File

@ -1,7 +1,7 @@
{ {
"name": "jsoneditor", "name": "jsoneditor",
"version": "9.0.3", "version": "9.0.3",
"main": "./index", "main": "./dist/jsoneditor.min.js",
"description": "A web-based tool to view, edit, format, and validate JSON", "description": "A web-based tool to view, edit, format, and validate JSON",
"tags": [ "tags": [
"json", "json",