nativescript-dev-webpack icon indicating copy to clipboard operation
nativescript-dev-webpack copied to clipboard

css2json color and uglify

Open farfromrefug opened this issue 5 years ago • 0 comments

In {N} hex 8 colors are define that way #aarrggbb Now there is an issue with the uglify/production and nativescript-dev-webpack/css2json-loader

When using production and uglify, #aarrggbb will be transformed to rgba format but it will do so thinking the original hex format is #rrggbbaa

Consequently i end up with the wrong colors in production builds, which is not nice :D

I think the way to fix this right now is not to change those values to rgba. The best way would be for N to support #rrggbbaa which is the default for the web

farfromrefug avatar Apr 10 '20 08:04 farfromrefug