enb / enb-bh

BH support for ENB
Other
15 stars 12 forks source link

опции из make.js не попадают в сборку #123

Closed kompolom closed 9 years ago

kompolom commented 9 years ago
[require('enb-bh/techs/bh-commonjs'), {
                jsAttrName: 'data-bem',
                jsAttrScheme: 'json'
}],

переданные опции не попадают с собранный бандл

arikon commented 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