fix plugin resolustion for devDependencies

Apparently `resolve.load` only considers `dependencies` but ignores `devDependencies`.