fbjs
fbjs copied to clipboard
Ship CSS Transform
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).
Can we rely on postcss given that slashes are invalid CSS?
I'm not sure about long term. I know as of a couple months ago it worked fine.