{"action":"created","issue":{"url":"https://api.github.com/repos/epeli/node-hbsfy/issues/42","labels_url":"https://api.github.com/repos/epeli/node-hbsfy/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/epeli/node-hbsfy/issues/42/comments","events_url":"https://api.github.com/repos/epeli/node-hbsfy/issues/42/events","html_url":"https://github.com/epeli/node-hbsfy/issues/42","id":72234459,"number":42,"title":"How to not include runtime with hbsfy","user":{"login":"daprahamian","id":7957497,"avatar_url":"https://avatars.githubusercontent.com/u/7957497?v=3","gravatar_id":"","url":"https://api.github.com/users/daprahamian","html_url":"https://github.com/daprahamian","followers_url":"https://api.github.com/users/daprahamian/followers","following_url":"https://api.github.com/users/daprahamian/following{/other_user}","gists_url":"https://api.github.com/users/daprahamian/gists{/gist_id}","starred_url":"https://api.github.com/users/daprahamian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daprahamian/subscriptions","organizations_url":"https://api.github.com/users/daprahamian/orgs","repos_url":"https://api.github.com/users/daprahamian/repos","events_url":"https://api.github.com/users/daprahamian/events{/privacy}","received_events_url":"https://api.github.com/users/daprahamian/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-30T17:59:07Z","updated_at":"2015-10-06T15:03:21Z","closed_at":"2015-10-06T15:03:21Z","body":"I am trying to write multiple small projects using hbsfy. The problem is that each of these projects includes an instance of the handlebars runtime. If someone tries to consume more than one of these projects, they get multiple copies of the runtime. Is there a way to not include the runtime when using hbsfy? Thanks!"},"comment":{"url":"https://api.github.com/repos/epeli/node-hbsfy/issues/comments/145886699","html_url":"https://github.com/epeli/node-hbsfy/issues/42#issuecomment-145886699","issue_url":"https://api.github.com/repos/epeli/node-hbsfy/issues/42","id":145886699,"user":{"login":"daprahamian","id":7957497,"avatar_url":"https://avatars.githubusercontent.com/u/7957497?v=3","gravatar_id":"","url":"https://api.github.com/users/daprahamian","html_url":"https://github.com/daprahamian","followers_url":"https://api.github.com/users/daprahamian/followers","following_url":"https://api.github.com/users/daprahamian/following{/other_user}","gists_url":"https://api.github.com/users/daprahamian/gists{/gist_id}","starred_url":"https://api.github.com/users/daprahamian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daprahamian/subscriptions","organizations_url":"https://api.github.com/users/daprahamian/orgs","repos_url":"https://api.github.com/users/daprahamian/repos","events_url":"https://api.github.com/users/daprahamian/events{/privacy}","received_events_url":"https://api.github.com/users/daprahamian/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T15:03:21Z","updated_at":"2015-10-06T15:03:21Z","body":"I was able to finally figure this out. I first changed the hbsfy compiler to be handlebars like so:\r\n\r\n```js\r\nvar options = {\r\n  compiler: 'require(\"handlebars\")'\r\n};\r\n```\r\n\r\nI then used  [browserify-shim](https://github.com/thlorenz/browserify-shim) to make `handlebars` point to the global handlebars."}}