Upgrade build toolchain and fix modern Sass/webpack 5 compatibility#7
Draft
Upgrade build toolchain and fix modern Sass/webpack 5 compatibility#7
Conversation
Co-authored-by: gabrielsolomon <17990591+gabrielsolomon@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Upgrade package to latest version and modernize UI
Upgrade build toolchain and fix modern Sass/webpack 5 compatibility
Feb 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The build was broken/noisy on modern package versions: 43 Sass deprecation warnings, broken
file-loaderusage (removed in webpack 5), tilde-prefix imports (~bootstrap) dropped by newer sass-loader, and two npm audit vulnerabilities.Build config
fonts.js/images.js: Replace deprecatedfile-loaderwith webpack 5 native asset modules (type: 'asset/resource')sass.js: AddsilenceDeprecationsfor known Bootstrap 5 + Sass migration warnings (import,global-builtin,color-functions,if-function) — Bootstrap hasn't completed its own@use/@forwardmigrationSCSS fixes
_functions.scss,_mixins.scss,_variables.scss,materialize-vendors.scss: Drop~prefix onbootstrap/scss/imports_base.scss: Fix loop iterating$theme-colors(flat map) as if it were nested — replace with$theme-palette(nestedmain/dark/lightmap); fix Sass color-in-interpolation warning using'' + $valueDependencies (
package.json/package-lock.json)url-loaderwebpack ^5.98.0explicit devDependencynpm audit fix: resolves cross-spawn (high) and ajv (moderate) → 0 vulnerabilitiesNet result:
webpack 5.105.3 compiled successfullywith 0 warnings, down from 43.💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.