{"action":"closed","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/4420","repository_url":"https://api.github.com/repos/webpack/webpack","labels_url":"https://api.github.com/repos/webpack/webpack/issues/4420/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/4420/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/4420/events","html_url":"https://github.com/webpack/webpack/issues/4420","id":211855879,"number":4420,"title":"Allowing System.import to import from auto generated module from memory.","user":{"login":"bruk1977","id":5600937,"avatar_url":"https://avatars0.githubusercontent.com/u/5600937?v=3","gravatar_id":"","url":"https://api.github.com/users/bruk1977","html_url":"https://github.com/bruk1977","followers_url":"https://api.github.com/users/bruk1977/followers","following_url":"https://api.github.com/users/bruk1977/following{/other_user}","gists_url":"https://api.github.com/users/bruk1977/gists{/gist_id}","starred_url":"https://api.github.com/users/bruk1977/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruk1977/subscriptions","organizations_url":"https://api.github.com/users/bruk1977/orgs","repos_url":"https://api.github.com/users/bruk1977/repos","events_url":"https://api.github.com/users/bruk1977/events{/privacy}","received_events_url":"https://api.github.com/users/bruk1977/received_events","type":"User","site_admin":false},"labels":[{"id":1089822,"url":"https://api.github.com/repos/webpack/webpack/labels/enhancement","name":"enhancement","color":"DDDDDD","default":true},{"id":90419071,"url":"https://api.github.com/repos/webpack/webpack/labels/webpack-2","name":"webpack-2","color":"c5def5","default":false},{"id":433080621,"url":"https://api.github.com/repos/webpack/webpack/labels/X3:%20discussion%20required","name":"X3: discussion required","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-04T05:01:48Z","updated_at":"2017-03-07T08:55:58Z","closed_at":"2017-03-07T08:55:58Z","body":"<!-- Please don't delete this template or we'll close your issue -->\r\n<!-- Before creating an issue please make sure you are using the latest version of webpack. -->\r\n<!-- Also consider trying the webpack@beta version, maybe it's already fixed. -->\r\n\r\n**Do you want to request a *feature* or report a *bug*?**\r\nFeature request\r\n\r\n<!-- Please ask questions on StackOverflow or the webpack Gitter (https://gitter.im/webpack/webpack). -->\r\n<!-- Issues which contain questions or support requests will be closed. -->\r\n\r\n**What is the current behavior?**\r\nSystem.import allows to import a module only from a disk. \r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce.**\r\n\r\n<!-- A great way to do this is to provide your configuration via a GitHub gist. -->\r\n<!-- Best provide a minimal reproduceable repo -->\r\n<!-- If your issue is caused by a plugin or loader file the issue on the plugin/loader repo -->\r\n\r\n**What is the expected behavior?**\r\nAllowing System.import to import from a module content in memory.\r\n\r\n**If this is a feature request, what is motivation or use case for changing the behavior?**\r\nIf System.import allows to accept module content instead of a path to a module, it allows to assemble a module at run time.\r\n\r\nThe scenario I've is, editors configure modules of a page using a CMS. I've a service that will read what is configured by editors and planning to automatically generate module script that will import all the modules configured by editors. If System.import supported importing a module using a content, I would pass auto generated content to System.import instead of saving to a disk and passing a path to system.import. Saving on a disk for lots of users for different configuration of a page will have a performance impact.\r\n\r\nThanks,\r\nBruk\r\n"}}
{"actor":{"display_login":"sokra"}}