only add deduplicate code if deduplicated modules are in the chunk.