@stencil/vue-output-target
Advanced tools
Comparing version 0.0.1-dev.11734409046.189fd148 to 0.0.1-dev.11734586318.14947a27
@@ -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.0.1-dev.11734409046.189fd148", | ||
"version": "0.0.1-dev.11734586318.14947a27", | ||
"description": "Vue output target for @stencil/core components.", | ||
@@ -63,6 +63,5 @@ "author": "Ionic Team", | ||
"rollup": "^4.14.3", | ||
"typescript": "~5.7.0", | ||
"vitest": "^2.0.5" | ||
"typescript": "~5.7.0" | ||
}, | ||
"gitHead": "89fd148dd07aef968f8806f1bc97cf0bffa5844d" | ||
"gitHead": "4947a276a55f76b0d843b15a42c3e7ca9a6d00e4" | ||
} |
@@ -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 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
116019
6
2553