We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When dart-sass is run in the nw.js environment, it failed, and it looks like we need to make a special check for nw.js, just like electron
https://github.com/mbullington/node_preamble.dart/blob/master/lib/preamble.js#L50
process.versions.hasOwnProperty('nw')
The text was updated successfully, but these errors were encountered:
I have been having this issue for a long time and I'm using this horrible monkey patch:
if (typeof process !== 'undefined' && process.versions['nw']) process.versions['electron'] = 'FAKE (hack for node_preamble.dart)';
It should be a simple fix of adding nw to the condition. Are PRs considered here?
nw
Sorry, something went wrong.
No branches or pull requests
When dart-sass is run in the nw.js environment, it failed, and it looks like we need to make a special check for nw.js, just like electron
https://github.com/mbullington/node_preamble.dart/blob/master/lib/preamble.js#L50
The text was updated successfully, but these errors were encountered: