Open sdumetz opened 1 month ago
Force-pushed de80df3 over 1234831 to check-in a package-lock.json without the optional dependencies.
In 853abf3 I updated the CSS to address a deprecation warning from Dart-SASS.
The change is quite trivial and backward compatible.
Thanks for the PR! Should be good as we have pushed our build image to 16.x but I will give it a test.
node-sass (or rather its underlying library, libsass) has been deprecated in favor of dart-sass (the sass package.
Consequently, node-sass no longer provides new versions with prebuilt binaries for newer nodejs versions, causing the install to be super-long on node-v18.x (only supported by
node-sass>=8.0
). I couldn't get it to build for node-v22.x (current stable release).With the dependency swap, voyager builds perfectly on every node version from 16.x to 22.x (didn't test anything earlier)
Using a clean install before/after this patch with
node-v14.x
I compared those files:dist/js/voyager-explorer.min.js
: different in production (unreadable output), but in development the only different line was the version header (due to the commit not matching a git tag)dist/css/
: strictly equal in production