1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 05:03:16 +02:00

Build(deps-dev): Bump sass-true from 6.1.0 to 7.0.0

This commit is contained in:
Julien Déramond
2022-12-29 20:08:23 +01:00
committed by Mark Otto
parent fabe074199
commit 31ee235638
3 changed files with 97 additions and 59 deletions

View File

@@ -9,9 +9,11 @@ const path = require('node:path')
module.exports = (filename, { describe, it }) => {
const data = fs.readFileSync(filename, 'utf8')
const TRUE_SETUP = '$true-terminal-output: false; @import "true";'
const sassString = TRUE_SETUP + data
runSass({
data: TRUE_SETUP + data,
includePaths: [path.dirname(filename)]
}, { describe, it })
runSass(
{ describe, it, sourceType: 'string' },
sassString,
{ loadPaths: [path.dirname(filename)] }
)
}