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
https://github.com/differui/rollup-plugin-sass/blob/e94b639f895563b9f78bb53c21695ce02fe0a56a/src/index.js#L69-L73 this logic prevents any custom importer from running, a better way is to return null in case customizedSassOptions.importer is defined to allow it/them to run.
customizedSassOptions.importer
To reproduce just try to import with any custom path format that will not correctly resolve for example a path with a variable like:
@import '~test/${theme}/utils';
it will fail and notice that even after adding
options: { importer: [ function(url, prev, done) { console.log('this will never run...'); } ], // ... }
The custom importer doesn't run (while it does after returning null).
null
The text was updated successfully, but these errors were encountered:
Please retry the latest version 0.9.3 the bug shoud be fixed. Have a nice day :)
Sorry, something went wrong.
f95ce9e
No branches or pull requests
https://github.com/differui/rollup-plugin-sass/blob/e94b639f895563b9f78bb53c21695ce02fe0a56a/src/index.js#L69-L73
this logic prevents any custom importer from running, a better way is to return null in case
customizedSassOptions.importer
is defined to allow it/them to run.To reproduce just try to import with any custom path format that will not correctly resolve for example a path with a variable like:
it will fail and notice that even after adding
The custom importer doesn't run (while it does after returning
null
).The text was updated successfully, but these errors were encountered: