From 0a9bf289232e06225d6ffd7a746bdeaf1e84647e Mon Sep 17 00:00:00 2001 From: Stef Coetzee Date: Thu, 6 Jan 2022 07:43:21 +0200 Subject: [PATCH] Remove postcss-scss --- package-lock.json | 5 ----- package.json | 3 +-- postcss.config.js | 7 +++---- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5dd6c95..de69812 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index d680881..de062a5 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/postcss.config.js b/postcss.config.js index 80433ad..a79d8af 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -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" })] : []) ]