@bem/sdk.config — librarySync()

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, 'libs': { 'bem-components': { 'path': 'libs/bem-components' } }, }`, 'libs/bem-components': { '.bemrc': stripIndent` module.exports = { 'levels': { 'common.blocks': {}, 'desktop.blocks': {} } }` } }); const libConf = config.librarySync('bem-components').getSync(); libConf;
Loading…

no comments

    sign in to comment