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
less-plugin-functions
I try to do it like this ,but it don't work less-plugin-functions
var lessTransformer = require("react-native-less-transformer"); module.exports.transform = function({ src, filename, options }) { if (filename.endsWith(".less")) { var opts = Object.assign(options, { lessOptions: { plugins: [require("less-plugin-functions")] } }); return lessTransformer.transform({ src, filename, options: opts }); } else { return upstreamTransformer.transform({ src, filename, options }); } };
The text was updated successfully, but these errors were encountered:
Thanks @snowlotus! That should work, does it throw some kind of an error?
Sorry, something went wrong.
No branches or pull requests
I try to do it like this ,but it don't work
less-plugin-functions
The text was updated successfully, but these errors were encountered: