Closed kompolom closed 9 years ago
@kompolom You should pass BH options as bhOptions
value:
[require('enb-bh/techs/bh-commonjs'), {
bhOptions: {
jsAttrName: 'data-bem',
jsAttrScheme: 'json'
}
}],
https://github.com/enb-bem/enb-bh/blob/master/api.ru.md#bhoptions
It was also mentioned in the migration guide: https://github.com/enb-bem/enb-bh/blob/master/MIGRATION-1.md#Настройка-bh
переданные опции не попадают с собранный бандл