@bem/sdk.config — module()
const config = require("@bem/sdk.config")();
const mockfs = require('mock-fs');
const { stripIndent } = require('common-tags');
mockfs({
'.bemrc': stripIndent`
module.exports = {
'root': true,
'modules': {
'bem-tools': {
'sheme': 'nested'
},
'other-module': {
'sheme': 'mixed'
}
}
}`
});
const bemToolsConf = await config.module('bem-tools');
bemToolsConf;
no comments