You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to add it in 7.0, but found few big problems.
The minor problem is that new WASM source-map uses async API. It is not a problem in stringifier. But we need source map reading in Node#error. Moving this method to async will break too many plugins.
The main problem is that WASM is supported (if I understand it correctly) only from Node.js 8. We need to support Node.js 6 until April 2019.
source map is not the main performance problem in most PostCSS use cases.
In result of this reasons, I decide to wait for a little until source-map update (it is painful for me too, I really like to use the latest software 😭). We will wait until:
The latest source-map which is v0.7.2 got support for WebAssembly and it is 10 times faster than the old one. More info here:
https://github.com/mozilla/source-map/blob/master/CHANGELOG.md#072
http://fitzgeraldnick.com/2018/02/26/speed-without-wizardry.html
https://hacks.mozilla.org/2018/01/oxidizing-source-maps-with-rust-and-webassembly/
firefox-devtools/debugger#5598
Please update so you would get 10 times speed improvements for your library in Firefox, 9 times in Safari and 5 times in Chrome.
The text was updated successfully, but these errors were encountered: