-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web Assembly #74
Comments
I have not dabbled with WebAssembly yet and I don't plan to in the sort term, but I'm sure sass.js will eventually be a WebAssembly thing. |
I've tried my luck with WebAssembly but wasn't able to make
Firefox and Chrome can't run the generated |
Via a tweet I noticed that @AshKyd made some changes to sass.js to get wasm to work. @AshKyd do you want to send a PR for that? Does this still work in browsers not supporting WASM? |
@rodneyrehm Was more a learning experience. It doesn't work in Node 8 (not sure why), and there's no fallback either so it's not mergeable without more work. I can't commit to anything, but if nobody else picks it up I might have another look when I have some time. :) |
FYI: sass/node-sass#2220 |
Thanks for the nudge @mgreter - I've just released a beta for WASM: 0.11.0-beta.1 Please try it out and tell me if something goes wrong with the relative loading of |
Hey I am currently testing the WASM beta and at least for a simple use case it works fine with no issues. My use case is a Browser-based Monaco Editor sass => sass.js => inject to styles -WYSIWYG editor. |
I guess we'll have to try some more (and probably produce a bigger build), because IE11 doesn't support WASM…
|
https://gist.github.com/surma/b2705b6cca29357ebea1c9e6e15684cc might help with switching from this archaic grunt build thing to webpack with support for wasm. |
https://developer.microsoft.com/en-us/microsoft-edge/platform/status/webassemblymvp/ suggests that Edge is now supporting WASM as well |
Can we get a new WebAssembly build after all these updates? :) |
were you using the 0.11.0-beta.1 build already? |
Yes, it is about 2 seconds faster for my setup. |
Will you be adding web assembly builds soon? Or is the Web Assembly MVP not sufficient enough for libsass?
The text was updated successfully, but these errors were encountered: