{"action":"created","issue":{"url":"https://api.github.com/repos/fuse-box/fuse-box/issues/1261","repository_url":"https://api.github.com/repos/fuse-box/fuse-box","labels_url":"https://api.github.com/repos/fuse-box/fuse-box/issues/1261/labels{/name}","comments_url":"https://api.github.com/repos/fuse-box/fuse-box/issues/1261/comments","events_url":"https://api.github.com/repos/fuse-box/fuse-box/issues/1261/events","html_url":"https://github.com/fuse-box/fuse-box/issues/1261","id":322389018,"number":1261,"title":"Baseurl configuration for dynamically loading modules built with Quantum from external API","user":{"login":"DitlevHB","id":3640223,"avatar_url":"https://avatars3.githubusercontent.com/u/3640223?v=4","gravatar_id":"","url":"https://api.github.com/users/DitlevHB","html_url":"https://github.com/DitlevHB","followers_url":"https://api.github.com/users/DitlevHB/followers","following_url":"https://api.github.com/users/DitlevHB/following{/other_user}","gists_url":"https://api.github.com/users/DitlevHB/gists{/gist_id}","starred_url":"https://api.github.com/users/DitlevHB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DitlevHB/subscriptions","organizations_url":"https://api.github.com/users/DitlevHB/orgs","repos_url":"https://api.github.com/users/DitlevHB/repos","events_url":"https://api.github.com/users/DitlevHB/events{/privacy}","received_events_url":"https://api.github.com/users/DitlevHB/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-05-11T18:18:08Z","updated_at":"2018-05-17T10:53:03Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"To explain this, I am going to use a project I am working on as reference.\r\nThis project is using Quatum in fuse to build hashfiles for dynamically loading modules.\r\n\r\nIn the main bundle i have\r\n```\r\nconst {default: bannerModule} = await import('banner-module');\r\n```\r\nThis generates a hashfile for banner-module.\r\n\r\nAll good so far.\r\n\r\nI have a separate site, where i want to load the main bundle from external API, that will dynamically load the hashfiles, which are also exposed on the external API.\r\nThe problem is, that the URL for loading dynamic modules is relative to the site that requests the main bundle, so it wont request hashfiles from the external API.\r\n\r\nCould there be added a feature, so it is possible to specify baseurl for dynamic modules on the site requesting the modules?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fuse-box/fuse-box/issues/comments/389826583","html_url":"https://github.com/fuse-box/fuse-box/issues/1261#issuecomment-389826583","issue_url":"https://api.github.com/repos/fuse-box/fuse-box/issues/1261","id":389826583,"user":{"login":"DitlevHB","id":3640223,"avatar_url":"https://avatars3.githubusercontent.com/u/3640223?v=4","gravatar_id":"","url":"https://api.github.com/users/DitlevHB","html_url":"https://github.com/DitlevHB","followers_url":"https://api.github.com/users/DitlevHB/followers","following_url":"https://api.github.com/users/DitlevHB/following{/other_user}","gists_url":"https://api.github.com/users/DitlevHB/gists{/gist_id}","starred_url":"https://api.github.com/users/DitlevHB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DitlevHB/subscriptions","organizations_url":"https://api.github.com/users/DitlevHB/orgs","repos_url":"https://api.github.com/users/DitlevHB/repos","events_url":"https://api.github.com/users/DitlevHB/events{/privacy}","received_events_url":"https://api.github.com/users/DitlevHB/received_events","type":"User","site_admin":false},"created_at":"2018-05-17T10:53:03Z","updated_at":"2018-05-17T10:53:03Z","author_association":"CONTRIBUTOR","body":"Submitted a PR :) "}}
{"actor":{"display_login":"DitlevHB"}}