Skip to content

Commit

Permalink
fix: mixing named and default exports
Browse files Browse the repository at this point in the history
  • Loading branch information
07akioni committed Nov 3, 2020
1 parent c1d7e40 commit c2aa7f6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 14 deletions.
3 changes: 2 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ module.exports = {
'css-render',
'@css-render/plugin-bem',
'vueuc',
'vooks'
'vooks',
'vicons'
]
}
5 changes: 0 additions & 5 deletions src/_base/select-menu/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
/* istanbul ignore file */
import BaseSelectMenu from './src/SelectMenu.vue'
import BaseSelectOption from './src/SelectOption.js'

export {
BaseSelectMenu,
BaseSelectOption
}
export default BaseSelectMenu
4 changes: 2 additions & 2 deletions src/_deprecated/style-scheme.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const lightStyleScheme = {
const lightStyleScheme = {
primaryColor: '#18a058',
primaryHoverColor: '#36ad6a',
primaryActiveColor: '#0c7a43',
Expand Down Expand Up @@ -38,7 +38,7 @@ export const lightStyleScheme = {
inputOverlayBackgroundColor: null
}

export const darkStyleScheme = {
const darkStyleScheme = {
primaryColor: '#63e2b7',
primaryHoverColor: '#7fe7c4',
primaryActiveColor: '#5acea7',
Expand Down
1 change: 0 additions & 1 deletion src/_utils/vue/src/omit.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ export function omit (object, keys = [], rest = {}) {
})
return Object.assign(omitedObject, rest)
}
export default omit
7 changes: 2 additions & 5 deletions src/preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ import * as styles from './styles'
import NimbusServiceLayout from './_deprecated/NimbusServiceLayout'

// deprecated
import { lightStyleScheme, darkStyleScheme } from './_deprecated/style-scheme'
import styleScheme from './_deprecated/style-scheme'

import create from './create'

Expand Down Expand Up @@ -165,8 +165,5 @@ export default create({
],
styles: Object.keys(styles).map(key => styles[key]),
// deprecated
styleSchemes: {
light: lightStyleScheme,
dark: darkStyleScheme
}
styleSchemes: styleScheme
})

0 comments on commit c2aa7f6

Please sign in to comment.