Open womblep opened 11 months ago
Thanks for the issue! I was able to confirm that this is an issue with the minimal reproduction you provided. I'm going to get this added to our internal backlog.
In the interim, a workaround here might be to add skipLibCheck: true
(docs link) to your tsconfig.json
to prevent type checking of .d.ts
files
Prerequisites
Stencil Version
4.8.2
Current Behavior
We are integrating a third-party library from Cisco (https://developer.webex-cx.com/documentation/guides/desktop/#javascript-sdk-and-modules) to a component.
The build works the first time we run it.
Second and subsequent times we get lots of errors complaining about missing modules or types. For example:
The build can be made to work one of 2 ways:
import {Desktop} from "@wxcc-desktop/sdk";
tocomponents.d.ts
obviously number 2 keeps being overwritten each build.
Expected Behavior
The build works every time.
System Info
Steps to Reproduce
my-component.tsx
to import the libraryCode Reproduction URL
https://github.com/womblep/stencil-webexcc-issue
Additional Information
No response