Skip to content

Commit 7d918cf

Browse files
committed
fix: fix main entry (library build doesn't work)
1 parent 2c31bb6 commit 7d918cf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
22
presets: [
3-
'@vue/app'
3+
"@vue/app"
44
]
55
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"description": "Vue component wrapper for chart.js",
44
"version": "0.1.0",
55
"license": "MIT",
6+
"main": "src/index.js",
67
"scripts": {
78
"build": "vue-cli-service build --target lib --name coreui-vue-chartjs ./src/index.js",
89
"lint": "vue-cli-service lint",

0 commit comments

Comments
 (0)