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
2 hours ago in this link was the new version of docs, now is older. I'm not sure if it's relevant now.
There is SASS example that contains a few typos. +async -)
async
)
const svelte = require('svelte/compiler'); const sass = require('node-sass'); const { dirname } = require('path'); const { code, dependencies } = svelte.preprocess(source, { style: async ({ content, attributes, filename }) => { // only process <style lang="sass"> if (attributes.lang !== 'sass') return; const { css, stats } = await new Promise((resolve, reject) => sass.render({ file: filename, data: content, includePaths: [ dirname(filename), ], }, (err, result) => { if (err) reject(err); else resolve(result); })); return { code: css.toString(), dependencies: stats.includedFiles }; } }, { filename: 'App.svelte' });
The text was updated successfully, but these errors were encountered:
Fix typos in doc node-sass example
b161725
closes #2337
Successfully merging a pull request may close this issue.
2 hours ago in this link was the new version of docs, now is older. I'm not sure if it's relevant now.
There is SASS example that contains a few typos. +
async
-)
The text was updated successfully, but these errors were encountered: