fbjs icon indicating copy to clipboard operation
fbjs copied to clipboard

Ship CSS Transform

Open zpao opened this issue 8 years ago • 2 comments

We can do this with some regular expressions or we can use an AST-based approach. Right now we only need this for Draft which is currently using the regex approach (https://github.com/facebook/draft-js/pull/66) but if we want to support other projects we might want something with a bit more flexibility. It should be pretty straight forward (eg, I wrote http://astexplorer.net/#/np0DfVT78g/71 in a few minutes).

zpao avatar Apr 29 '16 18:04 zpao

Can we rely on postcss given that slashes are invalid CSS?

sophiebits avatar Apr 29 '16 20:04 sophiebits

I'm not sure about long term. I know as of a couple months ago it worked fine.

zpao avatar Apr 29 '16 20:04 zpao