Skip to content

Commit

Permalink
resource/postcss: Change postcss to check for local installation unde…
Browse files Browse the repository at this point in the history
…r node_modules/.bin

Fixes #5091
  • Loading branch information
ericselin authored and bep committed Jul 16, 2019
1 parent 05d0edd commit a5604e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/resource_transformers/postcss/postcss.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a5604e1

Please sign in to comment.