Not possible disable sourcemap
baymer opened this issue · comments
Because here https://github.com/enb/enb-bemxjst/blob/master/techs/bem-xjst.js#L142 not checks is the sourcemap
enable or not (https://github.com/enb/enb-bemxjst/blob/master/techs/bem-xjst.js#L110).
I think fix is
if (this._sourcemap) {
engineOptions.sourceMap = { from: this._target };
}
@baymer, implemented just the way you suggested but with inverted condition to keep the change backward compatible.
- enb-bemxjst@8.10.6