Remove postcss-scss

This commit is contained in:
Stef Coetzee 2022-01-06 07:43:21 +02:00
parent 03baaa3baf
commit 0a9bf28923
3 changed files with 4 additions and 11 deletions

5
package-lock.json generated
View File

@ -1154,11 +1154,6 @@
"postcss-value-parser": "^4.1.0"
}
},
"postcss-scss": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-4.0.0.tgz",
"integrity": "sha512-xakgIr5ukOEyXFcsnADKjQtrk8nQyqn5VIEAA+PmPP4kBOpknmjpJMxBNqCR1/x20AS0aSfZkWsSdbMx2Ozm5A=="
},
"postcss-selector-parser": {
"version": "6.0.6",
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.6.tgz",

View File

@ -2,8 +2,7 @@
"dependencies": {
"autoprefixer": "^10.3.1",
"postcss": "^8.3.5",
"postcss-import": "^14.0.2",
"postcss-scss": "^4.0.0"
"postcss-import": "^14.0.2"
},
"devDependencies": {
"cssnano": "^5.0.6",

View File

@ -1,10 +1,9 @@
module.exports = {
parser: 'postcss-scss',
plugins: [
plugins: [
require('postcss-import'),
require('tailwindcss'),
require("autoprefixer"), // example of plugin you might use
...(process.env.JEKYLL_ENV == "production" // example of only using a plugin in production
require("autoprefixer"), // example of plugin you might use
...(process.env.JEKYLL_ENV == "production" // example of only using a plugin in production
? [require("cssnano")({ preset: "default" })]
: [])
]