diff --git a/package.json b/package.json index 4eebc65..ac8055c 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "type": "git", "url": "https://github.com/davidroyer/vue2-editor" }, - "main": "dist/index.js", + "main": "dist/vue2-editor.js", "files": [ "dist" ], diff --git a/poi.config.js b/poi.config.js index 9c9e20b..16fcd6d 100644 --- a/poi.config.js +++ b/poi.config.js @@ -5,5 +5,8 @@ module.exports = { html: { title: 'Vue2Editor' }, + filename: { + js: 'vue2-editor.js' + }, extractCSS: false };