{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/753","labels_url":"https://api.github.com/repos/webpack/webpack/issues/753/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/753/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/753/events","html_url":"https://github.com/webpack/webpack/issues/753","id":56211512,"number":753,"title":"QUESTION: only inline 'url-loader' require calls?","user":{"login":"radubrehar","id":196656,"avatar_url":"https://avatars.githubusercontent.com/u/196656?v=3","gravatar_id":"","url":"https://api.github.com/users/radubrehar","html_url":"https://github.com/radubrehar","followers_url":"https://api.github.com/users/radubrehar/followers","following_url":"https://api.github.com/users/radubrehar/following{/other_user}","gists_url":"https://api.github.com/users/radubrehar/gists{/gist_id}","starred_url":"https://api.github.com/users/radubrehar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radubrehar/subscriptions","organizations_url":"https://api.github.com/users/radubrehar/orgs","repos_url":"https://api.github.com/users/radubrehar/repos","events_url":"https://api.github.com/users/radubrehar/events{/privacy}","received_events_url":"https://api.github.com/users/radubrehar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-02T09:09:05Z","updated_at":"2015-02-02T09:12:09Z","closed_at":null,"body":"I have a question. I use webpack and find it awesome.\r\nI just ran into a scenario and want to know if it is possible to solve with webpack.\r\nI have a module, written in `jsx`, in the `/src` of my project. I use webpack (with dev-server) in development. When I am ready to publish it to npm, i use gulp, with `gulp-react` and \"compile\" the `/src` to `/lib`, transforming `.jsx` to `.js`. The problem arose when in my `.jsx` files I added `require('./some-image.png')`. In development, webpack inlines the base64 encoding which is great. But I want that to be encoded also when I am building my `/lib` folder from `/src`. Is this possible? I really want no other transformation on the file.\r\n\r\nWhat I've tried so far is using `gulp-webpack`, but I end up with the `// webpackBootstrap` header code as well."},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/72425448","html_url":"https://github.com/webpack/webpack/issues/753#issuecomment-72425448","issue_url":"https://api.github.com/repos/webpack/webpack/issues/753","id":72425448,"user":{"login":"radubrehar","id":196656,"avatar_url":"https://avatars.githubusercontent.com/u/196656?v=3","gravatar_id":"","url":"https://api.github.com/users/radubrehar","html_url":"https://github.com/radubrehar","followers_url":"https://api.github.com/users/radubrehar/followers","following_url":"https://api.github.com/users/radubrehar/following{/other_user}","gists_url":"https://api.github.com/users/radubrehar/gists{/gist_id}","starred_url":"https://api.github.com/users/radubrehar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radubrehar/subscriptions","organizations_url":"https://api.github.com/users/radubrehar/orgs","repos_url":"https://api.github.com/users/radubrehar/repos","events_url":"https://api.github.com/users/radubrehar/events{/privacy}","received_events_url":"https://api.github.com/users/radubrehar/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T09:12:09Z","updated_at":"2015-02-02T09:12:09Z","body":"That would also apply to inlining css/stylus/sass/etc files. So to have only the require call transformed."}}