Skip to content

Commit 8e070ee

Browse files
Fixes PostCSS issue by just removing it.
1 parent 24e4692 commit 8e070ee

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Diff for: layouts/partials/head/stylesheet.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<link rel="stylesheet" href="{{ $css.Permalink | relURL }}">
55
{{ else -}}
66
{{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "includePaths" (slice "node_modules")) -}}
7-
{{ $css := resources.Get "scss/app.scss" | toCSS $options | postCSS (dict "config" "config/postcss.config.js") -}}
7+
{{ $css := resources.Get "scss/app.scss" | toCSS $options -}}
88
{{ $secureCSS := $css | resources.Fingerprint "sha512" -}}
99
<link rel="stylesheet" href="{{ $secureCSS.Permalink }}" integrity="{{ $secureCSS.Data.Integrity }}" crossorigin="anonymous">
1010
{{ end -}}
11-
<noscript><style>img.lazyload { display: none; }</style></noscript>
11+
<noscript><style>img.lazyload { display: none; }</style></noscript>

Diff for: package.json

-3
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
"@babel/cli": "^7.18",
4444
"@babel/core": "^7.18",
4545
"@babel/preset-env": "^7.18",
46-
"@fullhuman/postcss-purgecss": "^4.1",
4746
"auto-changelog": "^2.4",
4847
"autoprefixer": "^10.4",
4948
"bootstrap": "^5.2.0-beta1",
@@ -59,8 +58,6 @@
5958
"markdownlint-cli2": "^0.4.0",
6059
"netlify-plugin-submit-sitemap": "^0.4.0",
6160
"node-fetch": "^3.2",
62-
"postcss": "^8.4",
63-
"postcss-cli": "^10.0",
6461
"purgecss-whitelister": "^2.4",
6562
"shx": "^0.3.4",
6663
"stylelint": "^14.9",

0 commit comments

Comments
 (0)