Skip to content
Permalink
Browse files

resource/postcss: Change postcss to check for local installation unde…

…r node_modules/.bin

Fixes #5091
  • Loading branch information...
ericselin authored and bep committed Aug 17, 2018
1 parent 05d0edd commit a5604e18b0cb260b7748949b12c05814ced50815
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.

0 comments on commit a5604e1

Please sign in to comment.
You can’t perform that action at this time.