
Product
Reachability for Ruby Now in Beta
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.
@kazzkiq/svelte-preprocess-scss
Advanced tools
Svelte preprocessor for scss (SASS)
npm install --save-dev @kazzkiq/svelte-preprocess-scss node-sass
Using rollup-plugin-svelte
// rollup.config.js
import svelte from 'rollup-plugin-svelte';
import { scss } from '@kazzkiq/svelte-preprocess-scss';
...
export default {
...
plugins: [
...
svelte({
preprocess: {
style: scss(),
},
}),
],
};
Now all <style> elements in your components that have a type="text/scss" or lang="scss" attribute will be preprocessed by sass.
The scss function passes the first argument to the sass compiler, e.g.:
...
scss({
plugins: [
...
]
})
The scss function passes the second argument to svelte-preprocess-filter, e.g.:
...
sass(
{} // Empty sass options
{ all: true } // Preprocess all styles
)
For available options visit the sass documentation.
FAQs
Svelte preprocessor for scss
We found that @kazzkiq/svelte-preprocess-scss demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.