Closed weizhenye closed 4 years ago
PR welcome! But it probably makes more sense for you to use https://classic.yarnpkg.com/en/docs/selective-version-resolutions/
This would also be useful if using Dart Sass (npm sass
package), I guess.
Released in v2.6.1 🎉
node-sass requires download binary from Internet, which is usually not provided by proxy service like Artifactory, it needs extra works to make
npm i
work in enterprise intranet.If node-sass is moved to optionalDependencies, it can be ignored by
npm i --no-optional
. And it should not affect normalnpm i
.