Would you like to clone this notebook?

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

Cancel

How @bem/sdk.config works?

node v10.24.1
version: master
endpointsharetweet
const mockfs = require('mock-fs'); const { stripIndent } = require('common-tags'); const config = require("@bem/sdk.config")(); mockfs({ '.bemrc': stripIndent` module.exports = { root: true, levels: { 'common.blocks': {}, 'desktop.bundles': {} }, modules: { 'bem-tools': { plugins: { create: { templates: { 'bemdecl.js': '.bem/templates/bemdecl.js', }, techs: ['css', 'js'], levels: { 'desktop.bundles': { techs: [ 'bemdecl.js', ], }, 'common.blocks': { default: true } } } } } } }` }); const conf = await config.get(); conf;
Loading…

no comments

    sign in to comment