Question about path to levels
Vittly opened this issue · 1 comments
Vittly commented
Project tree:
src/
common.blocks/
block/
block.js
.bemrc.js
Content of .bemrc.js
:
module.exports = {
levels: [{ layer: 'common' }]
};
Running BemConfig({ cwd: '/path/to/project/src' })
I got wrong level.path
:
/path/to/project/src/common.blocks # was needed
/path/to/project/common.blocks # was received
Is there an option to fix it. Now I need to rewrite my bemrc
with:
module.exports = {
levels: [{ layer: 'common', path: 'src/common.blocks' }]
};
qfox commented
Looks like a bug, need to investigate