@bem/sdk.config — module()

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

no comments

    sign in to comment