fix replaces when .exports.type is used multiple times in style file