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
We have to implement environment.getSourcemapGenerator. The default implementation in less-node (less-browser doesn't support sourcemap) also depends on source-map: https://github.com/less/less.js/blob/3f05b5cde6803064bef0ddc837ec1060c9e83635/packages/less/src/less-node/environment.js#L13-L15 Then create less instance via createFromEnvironment: https://github.com/less/less.js/blob/3f05b5cde6803064bef0ddc837ec1060c9e83635/packages/less/src/less-node/index.js#L5
environment.getSourcemapGenerator
source-map
createFromEnvironment
Maybe we can map source-map to a global variable so that we can mock it with a simpler implementation?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We have to implement
environment.getSourcemapGenerator
. The default implementation in less-node (less-browser doesn't support sourcemap) also depends onsource-map
:https://github.com/less/less.js/blob/3f05b5cde6803064bef0ddc837ec1060c9e83635/packages/less/src/less-node/environment.js#L13-L15
Then create less instance via
createFromEnvironment
:https://github.com/less/less.js/blob/3f05b5cde6803064bef0ddc837ec1060c9e83635/packages/less/src/less-node/index.js#L5
Maybe we can map
source-map
to a global variable so that we can mock it with a simpler implementation?The text was updated successfully, but these errors were encountered: