@stencil/vue-output-target
Advanced tools
Comparing version 0.9.1 to 0.9.2
@@ -203,4 +203,4 @@ 'use strict'; | ||
if (outputTarget.componentCorePackage !== undefined) { | ||
const dirPath = outputTarget.includeImportCustomElements | ||
? `/${outputTarget.customElementsDir || 'components'}` | ||
const dirPath = outputTarget.includeImportCustomElements && outputTarget.customElementsDir | ||
? `/${outputTarget.customElementsDir}` | ||
: ''; | ||
@@ -207,0 +207,0 @@ return `import type { ${IMPORT_TYPES} } from '${normalizePath(outputTarget.componentCorePackage)}${dirPath}';\n`; |
@@ -201,4 +201,4 @@ import path from 'node:path'; | ||
if (outputTarget.componentCorePackage !== undefined) { | ||
const dirPath = outputTarget.includeImportCustomElements | ||
? `/${outputTarget.customElementsDir || 'components'}` | ||
const dirPath = outputTarget.includeImportCustomElements && outputTarget.customElementsDir | ||
? `/${outputTarget.customElementsDir}` | ||
: ''; | ||
@@ -205,0 +205,0 @@ return `import type { ${IMPORT_TYPES} } from '${normalizePath(outputTarget.componentCorePackage)}${dirPath}';\n`; |
{ | ||
"name": "@stencil/vue-output-target", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "Vue output target for @stencil/core components.", | ||
@@ -61,3 +61,2 @@ "author": "Ionic Team", | ||
"@vue/shared": "^3.5.12", | ||
"vitest": "^2.0.5", | ||
"rimraf": "^5.0.0", | ||
@@ -64,0 +63,0 @@ "rollup": "^4.14.3", |
@@ -102,3 +102,3 @@ import { describe, it, expect } from 'vitest'; | ||
import type { JSX } from 'component-library/components'; | ||
import type { JSX } from 'component-library'; | ||
@@ -105,0 +105,0 @@ |
@@ -50,5 +50,6 @@ import path from 'path'; | ||
if (outputTarget.componentCorePackage !== undefined) { | ||
const dirPath = outputTarget.includeImportCustomElements | ||
? `/${outputTarget.customElementsDir || 'components'}` | ||
: ''; | ||
const dirPath = | ||
outputTarget.includeImportCustomElements && outputTarget.customElementsDir | ||
? `/${outputTarget.customElementsDir}` | ||
: ''; | ||
return `import type { ${IMPORT_TYPES} } from '${normalizePath(outputTarget.componentCorePackage)}${dirPath}';\n`; | ||
@@ -55,0 +56,0 @@ } |
115937
6
2553