{"action":"opened","issue":{"url":"https://api.github.com/repos/yenshih/style-resources-loader/issues/9","repository_url":"https://api.github.com/repos/yenshih/style-resources-loader","labels_url":"https://api.github.com/repos/yenshih/style-resources-loader/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/yenshih/style-resources-loader/issues/9/comments","events_url":"https://api.github.com/repos/yenshih/style-resources-loader/issues/9/events","html_url":"https://github.com/yenshih/style-resources-loader/issues/9","id":414949875,"node_id":"MDU6SXNzdWU0MTQ5NDk4NzU=","number":9,"title":"Support of modules with @ sign","user":{"login":"beostefan","id":48043002,"node_id":"MDQ6VXNlcjQ4MDQzMDAy","avatar_url":"https://avatars1.githubusercontent.com/u/48043002?v=4","gravatar_id":"","url":"https://api.github.com/users/beostefan","html_url":"https://github.com/beostefan","followers_url":"https://api.github.com/users/beostefan/followers","following_url":"https://api.github.com/users/beostefan/following{/other_user}","gists_url":"https://api.github.com/users/beostefan/gists{/gist_id}","starred_url":"https://api.github.com/users/beostefan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beostefan/subscriptions","organizations_url":"https://api.github.com/users/beostefan/orgs","repos_url":"https://api.github.com/users/beostefan/repos","events_url":"https://api.github.com/users/beostefan/events{/privacy}","received_events_url":"https://api.github.com/users/beostefan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-02-27T05:20:32Z","updated_at":"2019-02-27T05:20:32Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nThank you for this helpful library! The only issue i have is, that the regular expression for the require statement should also match paths with @ sign in module names. This is quite common in current libraries and unfortunately our own packages within our monorepo are prefixed with @.\r\n\r\nFor me, the statement should look like this:\r\n`const requireReg = /require\\s*\\(([\"'])([\\w.\\/@]+)(?:\\1)\\)((?:\\.[\\w_-]+)*);?/igm;`\r\n\r\nBest Regards\r\nStefan"}}
{"actor":{"display_login":"beostefan"}}