sindresorhus / gulp-autoprefixer

Prefix CSS
MIT License
694 stars 50 forks source link

gulp-load-plugins does not find autoprefixer #98

Closed DanielRuf closed 5 years ago

DanielRuf commented 6 years ago

I get an error that autoprefixer is not found when using gulp-autoprefixer with gulp-load-plugins but npm ls autoprefixer lists it.

MiguelDebruyne commented 5 years ago

You can maybe try to initiate gulp-load-plugins like this:

var p = require('gulp-load-plugins')({ pattern: ['*'] });

This makes more packages available for gulp-load-plugins. I don't think this will help because normally this isn't necessary with the autprefixer plugin (I just tried it) but you never know.

sindresorhus commented 5 years ago

Open an issue on gulp-load-plugins. This is just a normal Gulp plugin. I don't see how it's an issue here.

DanielRuf commented 5 years ago

My guess is that it is due to a missing main entry in package.json.

I will probably create a small repo to reproduce this.