From 785e9b11dc318f12461c43cc0ebe22c54c0eb774 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Tue, 29 May 2018 21:30:34 +0800 Subject: [PATCH] - Fix `main` on `package.json` to reference UMD distribution and `module` to point to ES6 Module dist --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8f2b7de3..db94f59c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "name": "svgedit", "version": "3.0.0-alpha.3", "description": "Powerful SVG-Editor for your browser ", - "main": "editor/svg-editor.js", + "main": "dist/index-umd.js", + "module": "dist/index-es.js", "directories": { "doc": "docs", "example": "examples",