Skip to content

Commit

Permalink
style: adjust few import and export order
Browse files Browse the repository at this point in the history
  • Loading branch information
kiaking committed Jan 26, 2021
1 parent 8b077e8 commit f182522
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/index.cjs.js
@@ -1,12 +1,12 @@
import { createStore, Store } from './store'
import { Store, createStore } from './store'
import { useStore } from './injectKey'
import { mapState, mapMutations, mapGetters, mapActions, createNamespacedHelpers } from './helpers'
import { createLogger } from './plugins/logger'

export default {
version: '__VERSION__',
createStore,
Store,
createStore,
useStore,
mapState,
mapMutations,
Expand Down
6 changes: 3 additions & 3 deletions src/index.js
@@ -1,12 +1,12 @@
import { createStore, Store } from './store'
import { Store, createStore } from './store'
import { useStore } from './injectKey'
import { mapState, mapMutations, mapGetters, mapActions, createNamespacedHelpers } from './helpers'
import { createLogger } from './plugins/logger'

export default {
version: '__VERSION__',
createStore,
Store,
createStore,
useStore,
mapState,
mapMutations,
Expand All @@ -17,8 +17,8 @@ export default {
}

export {
createStore,
Store,
createStore,
useStore,
mapState,
mapMutations,
Expand Down
4 changes: 2 additions & 2 deletions src/index.mjs
Expand Up @@ -2,8 +2,8 @@ import Vuex from '../dist/vuex.cjs.js'

const {
version,
createStore,
Store,
createStore,
install,
useStore,
mapState,
Expand All @@ -17,8 +17,8 @@ const {
export {
Vuex as default,
version,
createStore,
Store,
createStore,
install,
useStore,
mapState,
Expand Down

0 comments on commit f182522

Please sign in to comment.