-
Notifications
You must be signed in to change notification settings - Fork 809
bug: Build succeeds first time, but fails second time #6250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@petercmuc I can't reproduce this, it fails as expected on the first run:
|
@christian-bromann thanks for looking into it.
|
I still observe the same:
🤔 |
Hey @christian-bromann |
I just tried it as well and could reproduce it like @petercmuc described. The incorrect import path leads to a successful build the first time it runs and fails on the second run which would be the correct behavior for both runs. |
@petercmuc yep I see now, thanks for clarifying! We definitely should check types for every build. Any contributions are appreciated. |
Prerequisites
Stencil Version
4.*
Current Behavior
With an incorrect import path to a typescript interface the first build succeeds.
This happens when the import path is transpiled to the component.d.ts type definition.
Expected Behavior
All builds with incorrect import paths should fail
System Info
Steps to Reproduce
See the Git repo for reproduction...
In a component use an event emitter which uses an interface:
Code Reproduction URL
https://github.com/petercmuc/build-error
Additional Information
No response
The text was updated successfully, but these errors were encountered: