bug: type import paths are invalid for dist-custom-elements
if dir
matches location of types
output location
#4630
Labels
Bug: Validated
This PR or Issue is verified to be a bug within Stencil
Prerequisites
Stencil Version
4.0.2
Current Behavior
If you configure the
dist-custom-elements
output target to write to the default output location for Stencil (i.e.dist
), the import paths for typedefs results in an invalid path:Results in import paths like:
.types/components
Expected Behavior
A config like this should result in a valid path like:
./types/components
System Info
No response
Steps to Reproduce
Set this
dir
property on thedist-custom-elements
output target in a Stencil component starter todist
Code Reproduction URL
https://github.com/ionic-team/stencil-component-starter
Additional Information
No response
The text was updated successfully, but these errors were encountered: