@babel/plugin-transform-duplicate-keys

This plugin actually converts duplicate keys in objects to be computed properties, which then must be handled by the @babel/plugin-transform-computed-properties plugin. The final result won't contain any object literals with duplicate keys.