node-sass-tilde-importer icon indicating copy to clipboard operation
node-sass-tilde-importer copied to clipboard

add bin command to be resolved in a subproject with yarn workspace

Open sixertoy opened this issue 6 years ago • 0 comments

Hey there, it might be helpful for some of us to have a reference of the package in the node_modules folder

example usage:

"css:build": "$(yarn bin)/node-sass --importer=$(yarn bin)/node-sass-tilde-importer ./src/scss/styles.scss ./lib/styles.css",

instead of:

"css:build": "$(yarn bin)/node-sass --importer=./../node_modules/node-sass-tilde-importer ./src/scss/styles.scss ./lib/styles.css",

sixertoy avatar Apr 13 '19 12:04 sixertoy