@bem/sdk.config — options.plugins

node v10.24.1
version: master
endpointsharetweet
const config = require("@bem/sdk.config"); const mockfs = require('mock-fs'); const { stripIndent } = require('common-tags'); const optionalConfig = { defaults: [{ plugins: { create: { techs: ['styl', 'browser.js']}}}]}; const bemConfig = config(optionalConfig); mockfs({ '.bemrc': stripIndent` module.exports = [{ 'levels': { 'common.blocks': {}, 'desktop.blocks': {} } } ]` }); const conf = await bemConfig.get(); conf;
Loading…

no comments

    sign in to comment