update scss

master
yutent 2022-10-09 14:57:50 +08:00
parent 732f7f4939
commit 331f5acc24
2 changed files with 14 additions and 12 deletions

View File

@ -6,7 +6,7 @@
const vsc = require('vscode')
const path = require('path')
const scss = require('sass')
const scss = require('@bytedo/sass')
const fs = require('iofs')
const postcss = require('postcss')
@ -131,7 +131,6 @@ const Compiler = {
return
}
}
this.compile(doc)
}
}
@ -174,7 +173,6 @@ function __init__() {
options.outdir = path.join(options.workspace, options.outdir)
}
}
if (options.exclude) {
options.exclude = new RegExp(options.exclude, 'i')
}

View File

@ -2,16 +2,20 @@
"name": "scss-to-css",
"displayName": "scss-to-css",
"description": "🔥 The easiest way to compile scss file to css. And autoprefixer at the same time.",
"version": "3.2.2",
"version": "3.2.3",
"publisher": "yutent",
"author": "Yutent [@yutent]",
"icon": "logo.png",
"engines": {
"vscode": "^1.28.0"
},
"categories": ["Formatters"],
"activationEvents": ["*"],
"main": "out.js",
"categories": [
"Formatters"
],
"activationEvents": [
"*"
],
"main": "index.js",
"contributes": {
"commands": [
{
@ -94,9 +98,9 @@
"license": "MIT",
"dependencies": {
"autoprefixer": "^9.3.1",
"iofs": "^1.1.0",
"postcss": "^7.0.6",
"sass": "^1.35.1"
"iofs": "^1.5.2",
"@bytedo/sass": "^1.54.8",
"postcss": "^7.0.6"
},
"devDependencies": {
"esbuild": "^0.12.14"