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:
{
type: 'dist-custom-elements',
dir: 'dist'
}
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 the dist-custom-elements output target in a Stencil component starter to dist
Code Reproduction URL
https://github.com/ionic-team/stencil-component-starter
Additional Information
No response
Prerequisites
Stencil Version
4.0.2
Current Behavior
If you configure the
dist-custom-elementsoutput 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/componentsExpected Behavior
A config like this should result in a valid path like:
./types/componentsSystem Info
No response
Steps to Reproduce
Set this
dirproperty on thedist-custom-elementsoutput target in a Stencil component starter todistCode Reproduction URL
https://github.com/ionic-team/stencil-component-starter
Additional Information
No response