Skip to content

Commit 0fa37fe

Browse files
authored
Merge pull request #144 from grapoza/Update-packages
Add main to package.json
2 parents c8bb41e + 1d12d34 commit 0fa37fe

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"author": "Gregg Rapoza <grapoza@gmail.com>",
55
"license": "MIT",
66
"version": "2.0.0",
7+
"main": "dist/vue-tree.umd.min.js",
78
"browser": "index.js",
89
"repository": {
910
"url": "https://github.com/grapoza/vue-tree",

vue.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
module.exports = {
22
configureWebpack: {
3-
devtool: 'source-map'
3+
devtool: 'source-map',
4+
output: {
5+
libraryExport: 'default'
6+
}
47
},
58
};

0 commit comments

Comments
 (0)