How to include blueprints in a plugin?

It works with other files but with blueprints you lose all relations between them, even if you use the “migrate” option. Still working on this. If anybody have a solution it will be very helpful.