Closed miripiruni closed 7 years ago
Starting from bem-xjst v8.6.1 require('bem-xjst').bemhtml doesn’t contain all source code (as string) in private field. When BEMHTML.generate() execute we require bundle.js from FS.
require('bem-xjst').bemhtml
BEMHTML.generate()
Now: require from FS
Before v8.6.1: source definition and source usage.
Starting from bem-xjst v8.6.1
require('bem-xjst').bemhtml
doesn’t contain all source code (as string) in private field. WhenBEMHTML.generate()
execute we require bundle.js from FS.Now: require from FS
Before v8.6.1: source definition and source usage.