Update website
This commit is contained in:
parent
4413528994
commit
1d90fbf296
6865 changed files with 1091082 additions and 0 deletions
14
vendor/twbs/bootstrap/scss/tests/sass-true/register.js
vendored
Normal file
14
vendor/twbs/bootstrap/scss/tests/sass-true/register.js
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
'use strict'
|
||||
|
||||
const path = require('node:path')
|
||||
|
||||
const runnerPath = path.join(__dirname, 'runner').replace(/\\/g, '/')
|
||||
|
||||
require.extensions['.scss'] = (module, filename) => {
|
||||
const normalizedFilename = filename.replace(/\\/g, '/')
|
||||
|
||||
return module._compile(`
|
||||
const runner = require('${runnerPath}')
|
||||
runner('${normalizedFilename}', { describe, it })
|
||||
`, filename)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue