Skip to content

Commit

Permalink
Merge pull request #59 from nih-sparc/fix-issues-with-consuming-library
Browse files Browse the repository at this point in the history
converted relative paths and bumped versioning
  • Loading branch information
egauzens authored Nov 19, 2021
2 parents 30ae2a4 + b5d307b commit 33cd713
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nih-sparc/sparc-design-system-components",
"version": "0.13.0",
"version": "0.14.0",
"private": false,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
2 changes: 1 addition & 1 deletion src/components/SparcLogo/SparcLogo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default {
computed: {
logoSrc: function() {
return require (`@/assets/img/sparc-logo/sparc-${this.secondary ? 'alt-' : ''}logo-${this.type}.svg`)
return require (`../../assets/img/sparc-logo/sparc-${this.secondary ? 'alt-' : ''}logo-${this.type}.svg`)
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import lang from 'element-ui/lib/locale/lang/en'
import locale from 'element-ui/lib/locale'
import SvgIcon from 'vue-svgicon'

import '@/assets/styles.scss';
import '../assets/styles.scss';

import BreadcrumbTrail from './BreadcrumbTrail'
import ContentOverviewCard from './ContentOverviewCard'
Expand All @@ -22,7 +22,7 @@ import SparcCheckbox from './SparcCheckbox'
import SparcRadio from './SparcRadio'
import SparcTooltip from './SparcTooltip'

import '@/assets/icons'
import '../assets/icons'

const Components = {
BreadcrumbTrail,
Expand Down
6 changes: 6 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
module.exports = {
configureWebpack: {
output: {
libraryExport: 'default'
}
},
css: {
extract: false,
}
}

0 comments on commit 33cd713

Please sign in to comment.