Replace node-sass with sass and update bootstrap to version 5.3

This commit is contained in:
2025-05-28 15:04:59 +00:00
parent 6f1fe1c118
commit df88c31c40
6 changed files with 24 additions and 15 deletions

View File

@@ -74,7 +74,12 @@ module.exports = (async () => {
// basic encore configuration
Encore.setOutputPath("public/build/")
.setPublicPath("/build")
.enableSassLoader()
.enableSassLoader(function (options) {
// If set to true, Sass wont print warnings that are caused by dependencies (like bootstrap):
// https://sass-lang.com/documentation/js-api/interfaces/options/#quietDeps
options.sassOptions.quietDeps = true;
options.sassOptions.silenceDeprecations = ['import'];
})
.enableVueLoader(() => {}, {
version: 3,
})