- Fix `main` on `package.json` to reference UMD distribution and `module` to point to ES6 Module dist

master
Brett Zamir 2018-05-29 21:30:34 +08:00
parent dc79fe7fde
commit 785e9b11dc
1 changed files with 2 additions and 1 deletions

View File

@ -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",