{"action":"created","issue":{"url":"https://api.github.com/repos/bholloway/resolve-url-loader/issues/69","repository_url":"https://api.github.com/repos/bholloway/resolve-url-loader","labels_url":"https://api.github.com/repos/bholloway/resolve-url-loader/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/bholloway/resolve-url-loader/issues/69/comments","events_url":"https://api.github.com/repos/bholloway/resolve-url-loader/issues/69/events","html_url":"https://github.com/bholloway/resolve-url-loader/issues/69","id":265541687,"number":69,"title":"[Feature Request/Discussion] Add Option To Disable Exhaustive Search of Source Dirs if Path Can't Be Resolved Relatively","user":{"login":"mvastola","id":599767,"avatar_url":"https://avatars0.githubusercontent.com/u/599767?v=4","gravatar_id":"","url":"https://api.github.com/users/mvastola","html_url":"https://github.com/mvastola","followers_url":"https://api.github.com/users/mvastola/followers","following_url":"https://api.github.com/users/mvastola/following{/other_user}","gists_url":"https://api.github.com/users/mvastola/gists{/gist_id}","starred_url":"https://api.github.com/users/mvastola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvastola/subscriptions","organizations_url":"https://api.github.com/users/mvastola/orgs","repos_url":"https://api.github.com/users/mvastola/repos","events_url":"https://api.github.com/users/mvastola/events{/privacy}","received_events_url":"https://api.github.com/users/mvastola/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-10-15T03:07:56Z","updated_at":"2017-10-29T21:43:51Z","closed_at":"2017-10-29T21:43:51Z","author_association":"NONE","body":"Per the [`README.md`](https://github.com/bholloway/resolve-url-loader/blob/5d996a003c593e6faae06b9099db6d5be909960a/readme.md#how-it-works):\r\n> Usually the asset is found relative to the original source file `O(1)`. However in some cases there is no immediate match (*cough* bootstrap *cough*) and we so we start searching both deeper and shallower from the starting directory `O(n)`.\r\n\r\nexhaustive searching of source directories is done as a workaround to accommodate `bootstrap` (and other modules?) which do not specify asset paths correctly.\r\n\r\nThis workaround, however, has a few shortcomings, one of which is it adds to compute/compile time.  Additionally the [`README.md` for `sass-loader`](https://github.com/webpack-contrib/sass-loader/blob/0511c25a27226d236df342b859162792088a49cc/README.md#problems-with-url) states there is an alternate solution to the `bootstrap` issue:\r\n> Library authors usually provide a variable to modify the asset path. [bootstrap-sass](https://github.com/twbs/bootstrap-sass) for example has an `$icon-font-path`. Check out [this working bootstrap example](https://github.com/webpack-contrib/sass-loader/tree/master/test/bootstrapSass).\r\n\r\nA more problematic shortcoming was just identified for those users who use this module in conjunction with `rails` apps via the `webpacker` gem and `yarn`. See rails/webpacker#932.\r\n\r\nIn light of this, I was hoping to begin a discussion/inquiry into whether a PR would be accepted that added the capability to disable exhaustive searching, or if there were some other means of assuaging the concerns raised in rails/webpacker#932.\r\n\r\nThanks a ton!\r\nMike Vastola"},"comment":{"url":"https://api.github.com/repos/bholloway/resolve-url-loader/issues/comments/340302512","html_url":"https://github.com/bholloway/resolve-url-loader/issues/69#issuecomment-340302512","issue_url":"https://api.github.com/repos/bholloway/resolve-url-loader/issues/69","id":340302512,"user":{"login":"bholloway","id":6868309,"avatar_url":"https://avatars3.githubusercontent.com/u/6868309?v=4","gravatar_id":"","url":"https://api.github.com/users/bholloway","html_url":"https://github.com/bholloway","followers_url":"https://api.github.com/users/bholloway/followers","following_url":"https://api.github.com/users/bholloway/following{/other_user}","gists_url":"https://api.github.com/users/bholloway/gists{/gist_id}","starred_url":"https://api.github.com/users/bholloway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bholloway/subscriptions","organizations_url":"https://api.github.com/users/bholloway/orgs","repos_url":"https://api.github.com/users/bholloway/repos","events_url":"https://api.github.com/users/bholloway/events{/privacy}","received_events_url":"https://api.github.com/users/bholloway/received_events","type":"User","site_admin":false},"created_at":"2017-10-29T21:43:51Z","updated_at":"2017-10-29T21:43:51Z","author_association":"OWNER","body":"Published as `2.2.0`"}}
{"actor":{"display_login":"bholloway"}}