Upgrade sass, fontawesome, remove broken minifier and fix js build #1868
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Two commits in this PR, advisable to review both commits separate.
Upgrade npm packages,
sass, fontawesomeJavascript package maintenance.
Updated some packages.
Most notable, are sass and fontawesome.
Updated sass from 1.66.1 > 1.93.2.
This is the biggest change, specifically:
@import and global built-in functions (i.e. un-namespaced builtins) are deprecated, and Sass is moving toward requiring @use / @forward and module-based builtins.Fix/rework building of javascript
Prior to this change, in the previous commit, the
tinyifypackage wasupgraded. This package minified the js and css.
However, after the update, the javascript was no longer functioning.
This manifested itself by errors in the browser console.
This had two root causes:
javascript by removing functions that could not be removed.
This change reworks the javascript to remove the circular dependencies.
It also replaces the unmaintained tinyify plugin by using the
terserdirectly.