It would be nice if this plugin support yarn (package.json) which iterate through dependencies in package.json and return an array of files defined in the main property of the packages package.json, and the base directory will be node_modules/@bower_components.
I tried as following :
yarnFiles({
paths: {
bowerDirectory: 'node_modules/@bower_components',
bowerJson: 'package.json'
}
})
but it didn't work.
This solution worked for me :
yarnFiles({
paths: {
bowerDirectory: 'node_modules/@bower_components',
bowerrc: '.bowerrc',
bowerJson: 'bower.json'
}
})
But I shouldn't rely on the bower.json file, since I'm moving from bower to yarn.
It would be nice if this plugin support yarn (package.json) which iterate through dependencies in
package.jsonand return an array of files defined in the main property of the packagespackage.json, and the base directory will benode_modules/@bower_components.I tried as following :
but it didn't work.
This solution worked for me :
But I shouldn't rely on the
bower.jsonfile, since I'm moving from bower to yarn.