Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

@bem/sdk.config — options.cwd

node v10.24.1
version: master
endpointsharetweet
const config = require("@bem/sdk.config"); const mockfs = require('mock-fs'); const { stripIndent } = require('common-tags'); const bemConfig = config({cwd: 'src'}); mockfs({ 'src': { '.bemrc': stripIndent` module.exports = { 'root': true, 'levels': { 'common.blocks': {}, 'desktop.blocks': {} }, 'modules': { 'bem-tools': { 'plugins': {} } } }` } }); const conf = await bemConfig.get(); conf;
Loading…

no comments

    sign in to comment