Export the default object for handlebars/runtime
Maintains consistency with the prior export pattern, while avoids the knarly default loading issues.
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
||||
// Create a simple path alias to allow browserify to resolve
|
||||
// the runtime on a supported path.
|
||||
module.exports = require('./dist/cjs/handlebars.runtime');
|
||||
module.exports = require('./dist/cjs/handlebars.runtime').default;
|
||||
|
||||
Reference in New Issue
Block a user