From b5d307b96d52a9377c3812565fed024773111e83 Mon Sep 17 00:00:00 2001 From: Eric Gauzens Date: Fri, 19 Nov 2021 11:44:39 -0500 Subject: [PATCH] converted relative paths and bumped versioning --- package.json | 2 +- src/components/SparcLogo/SparcLogo.vue | 2 +- src/components/index.js | 4 ++-- vue.config.js | 6 ++++++ 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 6d0e67e2..25995e99 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/components/SparcLogo/SparcLogo.vue b/src/components/SparcLogo/SparcLogo.vue index 783a0da3..8e20ea99 100644 --- a/src/components/SparcLogo/SparcLogo.vue +++ b/src/components/SparcLogo/SparcLogo.vue @@ -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`) } } } diff --git a/src/components/index.js b/src/components/index.js index 48fd84e9..19b27341 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -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' @@ -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, diff --git a/vue.config.js b/vue.config.js index 6084be70..cafe38bf 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,4 +1,10 @@ module.exports = { configureWebpack: { + output: { + libraryExport: 'default' + } + }, + css: { + extract: false, } }