Vue-jest: Postcss support

Created on 9 May 2018  路  6Comments  路  Source: vuejs/vue-jest

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

feature request

Most helpful comment

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

All 6 comments

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

@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?

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

What plugins need to be async?

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.

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

any news about it?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aantipov picture aantipov  路  8Comments

xereda picture xereda  路  4Comments

ghost picture ghost  路  4Comments

emman27 picture emman27  路  7Comments

chenxeed picture chenxeed  路  5Comments