You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also I have requires from my templates in this bundle. But when I try to resolve requires in my bemhtml templates with browserify - I can't do it cause of browserify can't resolve requires from bem-xjst code. Has anybody solved this problem?
Currently, in my enb technology I'm parsing bundle file, replacing all bem-xjst requirements with some strings, after I build an next bundle and replace in final bundle that strings with initial bem-xjst requires. It's pretty weird and absolutely non-maintainable solution, but currently it works.
The text was updated successfully, but these errors were encountered:
I have some requires of CommonJS modules in my bemhtml templates. Like a:
I'm building my templates with
enb-bemxjst
and at the end I will get?.bemhtml.js
bundle. There are requires frombem-xjst
in code:Also I have requires from my templates in this bundle. But when I try to resolve requires in my bemhtml templates with browserify - I can't do it cause of browserify can't resolve requires from bem-xjst code. Has anybody solved this problem?
Currently, in my
enb
technology I'm parsing bundle file, replacing all bem-xjst requirements with some strings, after I build an next bundle and replace in final bundle that strings with initial bem-xjst requires. It's pretty weird and absolutely non-maintainable solution, but currently it works.The text was updated successfully, but these errors were encountered: