Skip to content

Commit 9fff7df

Browse files
committed
refactor(main.js): rewrite exports to short variants
1 parent 1d0cb9b commit 9fff7df

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/main.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
import component from '~/component.vue'
2-
import EventEmitter from '~/eventEmitter'
31
import mergeDeep from '~/helpers'
42

53
export const CoolSelectPlugin = new Singleton()
6-
export {
7-
EventEmitter,
8-
component,
9-
component as CoolSelect,
10-
component as VueCoolSelect
11-
}
4+
export { default as EventEmitter } from '~/eventEmitter'
5+
export { default as component } from '~/component.vue'
6+
export { default as CoolSelect } from '~/component.vue'
7+
export { default as VueCoolSelect } from '~/component.vue'
128

139
function Singleton () {
1410
return {

0 commit comments

Comments
 (0)