commit a5604e18b0cb260b7748949b12c05814ced50815
parent 05d0eddd2bfce4622462428c66c1a9e3abdde614
Author: Eric Selin <eric.selin@gmail.com>
Date: Fri, 17 Aug 2018 17:30:53 +0200
resource/postcss: Change postcss to check for local installation under node_modules/.bin
Fixes #5091
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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.