Skip to content

Commit f182522

Browse files
committed
style: adjust few import and export order
1 parent 8b077e8 commit f182522

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/index.cjs.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { createStore, Store } from './store'
1+
import { Store, createStore } from './store'
22
import { useStore } from './injectKey'
33
import { mapState, mapMutations, mapGetters, mapActions, createNamespacedHelpers } from './helpers'
44
import { createLogger } from './plugins/logger'
55

66
export default {
77
version: '__VERSION__',
8-
createStore,
98
Store,
9+
createStore,
1010
useStore,
1111
mapState,
1212
mapMutations,

src/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { createStore, Store } from './store'
1+
import { Store, createStore } from './store'
22
import { useStore } from './injectKey'
33
import { mapState, mapMutations, mapGetters, mapActions, createNamespacedHelpers } from './helpers'
44
import { createLogger } from './plugins/logger'
55

66
export default {
77
version: '__VERSION__',
8-
createStore,
98
Store,
9+
createStore,
1010
useStore,
1111
mapState,
1212
mapMutations,
@@ -17,8 +17,8 @@ export default {
1717
}
1818

1919
export {
20-
createStore,
2120
Store,
21+
createStore,
2222
useStore,
2323
mapState,
2424
mapMutations,

src/index.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import Vuex from '../dist/vuex.cjs.js'
22

33
const {
44
version,
5-
createStore,
65
Store,
6+
createStore,
77
install,
88
useStore,
99
mapState,
@@ -17,8 +17,8 @@ const {
1717
export {
1818
Vuex as default,
1919
version,
20-
createStore,
2120
Store,
21+
createStore,
2222
install,
2323
useStore,
2424
mapState,

0 commit comments

Comments
 (0)