{"action":"created","issue":{"url":"https://api.github.com/repos/tus/tus-js-client/issues/31","repository_url":"https://api.github.com/repos/tus/tus-js-client","labels_url":"https://api.github.com/repos/tus/tus-js-client/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/tus/tus-js-client/issues/31/comments","events_url":"https://api.github.com/repos/tus/tus-js-client/issues/31/events","html_url":"https://github.com/tus/tus-js-client/issues/31","id":136122857,"number":31,"title":"Usage with webpack emits warning about tus-js-client","user":{"login":"jonase","id":101023,"avatar_url":"https://avatars.githubusercontent.com/u/101023?v=3","gravatar_id":"","url":"https://api.github.com/users/jonase","html_url":"https://github.com/jonase","followers_url":"https://api.github.com/users/jonase/followers","following_url":"https://api.github.com/users/jonase/following{/other_user}","gists_url":"https://api.github.com/users/jonase/gists{/gist_id}","starred_url":"https://api.github.com/users/jonase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonase/subscriptions","organizations_url":"https://api.github.com/users/jonase/orgs","repos_url":"https://api.github.com/users/jonase/repos","events_url":"https://api.github.com/users/jonase/events{/privacy}","received_events_url":"https://api.github.com/users/jonase/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-24T17:04:47Z","updated_at":"2016-02-24T19:35:38Z","closed_at":null,"body":"I'm using webpack (version 1.12.11) and get the following warning when I build my project:\r\n\r\n```\r\nWARNING in ./~/tus-js-client/dist/tus.js\r\nCritical dependencies:\r\n1:476-483 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.\r\n @ ./~/tus-js-client/dist/tus.js 1:476-483\r\n```\r\n\r\nTo reproduce:\r\n\r\nCreate a file `index.js` with a single require:\r\n\r\n```\r\nvar tus = require('tus-js-client');\r\n```\r\n\r\nand run `webpack index.js bundle.js`."},"comment":{"url":"https://api.github.com/repos/tus/tus-js-client/issues/comments/188421398","html_url":"https://github.com/tus/tus-js-client/issues/31#issuecomment-188421398","issue_url":"https://api.github.com/repos/tus/tus-js-client/issues/31","id":188421398,"user":{"login":"jonase","id":101023,"avatar_url":"https://avatars.githubusercontent.com/u/101023?v=3","gravatar_id":"","url":"https://api.github.com/users/jonase","html_url":"https://github.com/jonase","followers_url":"https://api.github.com/users/jonase/followers","following_url":"https://api.github.com/users/jonase/following{/other_user}","gists_url":"https://api.github.com/users/jonase/gists{/gist_id}","starred_url":"https://api.github.com/users/jonase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonase/subscriptions","organizations_url":"https://api.github.com/users/jonase/orgs","repos_url":"https://api.github.com/users/jonase/repos","events_url":"https://api.github.com/users/jonase/events{/privacy}","received_events_url":"https://api.github.com/users/jonase/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T19:35:38Z","updated_at":"2016-02-24T19:35:38Z","body":"@IngwiePhoenix, @iperdomo Thanks! I will try this workaround"}}