ref: a5604e18b0cb260b7748949b12c05814ced50815
parent: 05d0eddd2bfce4622462428c66c1a9e3abdde614
author: Eric Selin <eric.selin@gmail.com>
date: Fri Aug 17 13:30:53 EDT 2018
resource/postcss: Change postcss to check for local installation under node_modules/.bin Fixes #5091
--- a/resources/resource_transformers/postcss/postcss.go
+++ b/resources/resource_transformers/postcss/postcss.go
@@ -98,7 +98,7 @@
// 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.