@bem/sdk.config — moduleSync()

node v10.16.0
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, 'modules': { 'bem-tools': { 'sheme': 'nested' }, 'other-module': { 'sheme': 'mixed' } } }` }); const bemToolsConf = config.moduleSync('bem-tools'); bemToolsConf;
Loading…

no comments

    sign in to comment