Just add a feature ignoring selector, the original one px2rem seems like no longer maintaned.
same as before.
https://github.com/songsiqi/px2rem
except adding ignoring selector
//config
options: {
remUnit: 100,
ignoreSelector: 'cube' // new feature
}
the selector will be ignored if the css selector includes the ignoreSelector string you give.