How does this work with the drone.io build? I believe pub still tries to build all entry points it finds, no matter what you specify in the pubspec. You can work around this by naming the file `cannot_launch.html`.