Planes existed and bombed things prior to the Maginot Line being built. It was also protected against aerial attack, which is kind of intuitive as the French were familiar with just how much explosives could home from the air after ww1 (though generally by by heavy artillery).