There are exist another problem with precompiled templates and new module / interop style.
handlebars.runtime.amd file exactly exports 'handlebars.runtime' module.
But precompiled templates references 'handlebars' module.
It 'causes that AMD loader (requirejs) returns undefined, 'cause 'handlebars' module not defined.
So it can be solved with two ways: adds ability to configure import name for handlebars runtime for precompiler.
Or as workaround - export exactly 'handlebars' from handlebars.runtime.amd. It allow normally reference this module via 'handlebars'.
Let me know if you need additional information.
There are exist another problem with precompiled templates and new module / interop style.
handlebars.runtime.amd file exactly exports 'handlebars.runtime' module.
But precompiled templates references 'handlebars' module.
It 'causes that AMD loader (requirejs) returns undefined, 'cause 'handlebars' module not defined.
So it can be solved with two ways: adds ability to configure import name for handlebars runtime for precompiler.
Or as workaround - export exactly 'handlebars' from handlebars.runtime.amd. It allow normally reference this module via 'handlebars'.
Let me know if you need additional information.