Demonstrates inconsistent build behaviour: With invalid import statement the first build succeeds, the second one fails.
First, build the app - which should work fine:
npm ci
npm run buildThen, in app-root.tsx change the import path of MyType to something non-existent like
import { MyType } from './../../types/myType';and run:
npm run buildresult: no error is shown in console. A second execution fails the build
npm run build[ ERROR ] TypeScript: src/components.d.ts:18:24
Cannot find name 'MyType'.