@bem/sdk.config — level()

node v10.24.1
version: master
endpointsharetweet
const config = require("@bem/sdk.config")(); const mockfs = require('mock-fs'); const { stripIndent } = require('common-tags'); mockfs({ '.bemrc': stripIndent` module.exports = { 'root': true, 'levels': { 'common.blocks': { '.bemrc': ${stripIndent` module.exports = { 'scheme': 'nested' }` } }, 'desktop.blocks': {} } }` }); const levelConf = await config.level('common.blocks'); levelConf;
Loading…

no comments

    sign in to comment