vue-jest icon indicating copy to clipboard operation
vue-jest copied to clipboard

Postcss support

Open lancetharper opened this issue 6 years ago • 6 comments

Would love to get support for postcss. I've forked to explore this and am hopeful to submit a PR for it

lancetharper avatar May 09 '18 17:05 lancetharper

@lancetharper Maybe look at the SASS/SCSS implementation since it should be the most complete one.

jeremyzahner avatar May 09 '18 20:05 jeremyzahner

@jeremyzahner I looked at the SASS examples and they are using renderSync. It looks like postcss needs to be async to support async plugins though. Is this even possible without rewriting all of vue-jest to be async?

lancetharper avatar May 10 '18 23:05 lancetharper

vue-jest can't be async, because jest transforms can't be async.

What plugins need to be async?

eddyerburgh avatar May 11 '18 16:05 eddyerburgh

I'm not sure which ones are, I just get a warning saying async plugins won't work if postcss isn't run async.

I don't know if there is a sync method for automatically loading the configs either.

lancetharper avatar May 11 '18 16:05 lancetharper

https://github.com/vuejs/vue-jest/pull/195 guys please take a look on my PR

mrvasia avatar Sep 03 '19 11:09 mrvasia

any news about it?

pumano avatar Jun 17 '20 11:06 pumano