Skip to content

Commit

Permalink
Add bundle command
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyFeliz committed Nov 5, 2019
1 parent d9499ec commit 0200254
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"bundle": "./node_modules/@vue/cli-service/bin/vue-cli-service.js build --target lib --name vue-email-dropdown ./src/components/EmailDropdown.vue",
"test:unit": "vue-cli-service test:unit",
"lint": "vue-cli-service lint"
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/EmailDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default {
validator(num) {
const isInteger = Number.isInteger(num);
if (!isInteger) {
console.error(
throw new Error(
`Invalid prop: type check failed for prop "maxSuggestions". Expected Integer but got ${num} as value.`
);
}
Expand Down

0 comments on commit 0200254

Please sign in to comment.