If you set up the “List of maps to include in a packaged build” in Project Settings / Packaging, it will only cook and package the maps and assets referenced by them.
If you set up the “List of maps to include in a packaged build” in Project Settings / Packaging, it will only cook and package the maps and assets referenced by them.