From a5604e18b0cb260b7748949b12c05814ced50815 Mon Sep 17 00:00:00 2001 From: Eric Selin Date: Fri, 17 Aug 2018 17:30:53 +0200 Subject: [PATCH] resource/postcss: Change postcss to check for local installation under node_modules/.bin Fixes #5091 --- resources/resource_transformers/postcss/postcss.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/resource_transformers/postcss/postcss.go b/resources/resource_transformers/postcss/postcss.go index 5350eebc5b6..d26ffad5460 100644 --- a/resources/resource_transformers/postcss/postcss.go +++ b/resources/resource_transformers/postcss/postcss.go @@ -98,7 +98,7 @@ func (t *postcssTransformation) Key() resources.ResourceTransformationKey { // npm install -g autoprefixer func (t *postcssTransformation) Transform(ctx *resources.ResourceTransformationCtx) error { - const localPostCSSPath = "node_modules/postcss-cli/bin/" + const localPostCSSPath = "node_modules/.bin/" const binaryName = "postcss" // Try first in the project's node_modules.