Export stl without applying boolean operation
Keep the modifiers in the file without applying and choose Apply modifiers in the exporter options , this way the exported objects will have the modifier applied but the original will not.