Closed PeterJCLaw closed 3 years ago
node-sass
is considered deprecated in favour of the Dart rewrite of sass, available on NPM undersass
.
This feels like it is probably out of scope for this PR and deserves it's own issue? Breaking changes etc etc
@RealOrangeOne thanks for the info, I wasn't aware of the sass changes. Do you feel strongly that we should hold up this PR on that basis? Currently I would push for getting this in because it does improve things, even if not perfectly.
I feel it should be done, but definitely not strongly enough to block this PR. Let's get this in, as currently I can't even build the application on my machine, and we can deal with deprecations at a later date!
Specifically on Ubuntu 20.04 there isn't Python 2 any more. Previously it seemed that the version of node-sass which was installed needed Python 2 as part of the build for node-gyp. This moves it to being a dev-dependency for clarity and then updates it to v5, which seems to avoid that issue.