fixed autoPrefixer

master
yutent 2022-03-09 16:32:52 +08:00
parent 19cce60a06
commit 223cd9de29
3 changed files with 4 additions and 4 deletions

View File

@ -181,7 +181,7 @@ function __init__() {
prefixer = postcss().use( prefixer = postcss().use(
autoprefixer({ autoprefixer({
browsers: options.browsers overrideBrowserslist: options.browsers
}) })
) )
} }

View File

@ -2,7 +2,7 @@
"name": "scss-to-css", "name": "scss-to-css",
"displayName": "scss-to-css", "displayName": "scss-to-css",
"description": "🔥 The easiest way to compile scss file to css. And autoprefixer at the same time.", "description": "🔥 The easiest way to compile scss file to css. And autoprefixer at the same time.",
"version": "3.2.0", "version": "3.2.1",
"publisher": "yutent", "publisher": "yutent",
"author": "Yutent [@yutent]", "author": "Yutent [@yutent]",
"icon": "logo.png", "icon": "logo.png",
@ -89,7 +89,7 @@
], ],
"scripts": { "scripts": {
"start": "esbuild index.js --bundle --outfile=out.js --external:vscode --format=cjs --platform=node", "start": "esbuild index.js --bundle --outfile=out.js --external:vscode --format=cjs --platform=node",
"vscode:prepublish": "npm start -- --minify" "pack": "npm start -- --minify"
}, },
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {

View File

@ -2,7 +2,7 @@ ul {
display: flex; display: flex;
li { li {
flex: 2; flex: 3;
color: #fff; color: #fff;
} }
} }