• Chris Bracken's avatar
    Invalidate snapshot when entrypoint changes (#11913) · c896fe2f
    Chris Bracken authored
    Adds the app entrypoint as a key in the checksum file.
    
    This change eliminates the assumption that checksummed files change when
    the main entrypoint changes. In the case where there are two
    entrypoints, a.dart and b.dart and a.dart imports b.dart and b.dart
    imports a.dart, building the app with entrypoint a.dart followed by a
    build of the app with entrypoint b.dart would result in the same
    files list and checksums, but should invalidate the build.
    c896fe2f
build_test.dart 20 KB