Skip to content

Instantly share code, notes, and snippets.

View dexbyte's full-sized avatar

ᗪ乇乂乃ㄚㄒ乇 dexbyte

View GitHub Profile
const sass = require('node-sass');
// related: https://github.com/UnwrittenFun/svelte-vscode/issues/1
module.exports = {
preprocess: {
style: async ({ content, attributes }) => {
if (!['text/sass', 'text/scss'].some(attributes.type) && !['sass', 'scss'].some(attributes.lang)) return;
return new Promise((resolve, reject) => {
@dexbyte
dexbyte / just test man.md
Created July 3, 2019 07:48
Testing Gist

###Test Gist