{"action":"created","issue":{"url":"https://api.github.com/repos/pixijs/pixi.js/issues/2922","repository_url":"https://api.github.com/repos/pixijs/pixi.js","labels_url":"https://api.github.com/repos/pixijs/pixi.js/issues/2922/labels{/name}","comments_url":"https://api.github.com/repos/pixijs/pixi.js/issues/2922/comments","events_url":"https://api.github.com/repos/pixijs/pixi.js/issues/2922/events","html_url":"https://github.com/pixijs/pixi.js/issues/2922","id":175362162,"number":2922,"title":"(v4) GLSLify error when using Webpack","user":{"login":"Adam-Meisen","id":1029712,"avatar_url":"https://avatars.githubusercontent.com/u/1029712?v=3","gravatar_id":"","url":"https://api.github.com/users/Adam-Meisen","html_url":"https://github.com/Adam-Meisen","followers_url":"https://api.github.com/users/Adam-Meisen/followers","following_url":"https://api.github.com/users/Adam-Meisen/following{/other_user}","gists_url":"https://api.github.com/users/Adam-Meisen/gists{/gist_id}","starred_url":"https://api.github.com/users/Adam-Meisen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adam-Meisen/subscriptions","organizations_url":"https://api.github.com/users/Adam-Meisen/orgs","repos_url":"https://api.github.com/users/Adam-Meisen/repos","events_url":"https://api.github.com/users/Adam-Meisen/events{/privacy}","received_events_url":"https://api.github.com/users/Adam-Meisen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-06T21:58:31Z","updated_at":"2016-09-06T23:36:58Z","closed_at":null,"body":"Running my Pixi app after bundling with Webpack results in the following error:\r\n\r\n`browser.js:2 Uncaught Error: It appears that you're using glslify in browserify without its transform applied. Make sure that you've set up glslify as a source transform`\r\n\r\nSome research suggests this is a common problem among Webpack users. https://gist.github.com/mjackson/ecd3914ebee934f4daf4#gistcomment-1842689\r\n\r\nThis solution seems to work for some people, but I still haven't gotten it working. I'm posting an issue to see if we can come up with a common guideline for making Pixi work in a webpack app.\r\n\r\nTo reproduce the problem, simply make a webpack app with the following contents: \r\n\r\n```\r\nvar PIXI = require('pixi.js');\r\nvar renderer = new PIXI.WebGLRenderer(256, 256);\r\n```"},"comment":{"url":"https://api.github.com/repos/pixijs/pixi.js/issues/comments/245129441","html_url":"https://github.com/pixijs/pixi.js/issues/2922#issuecomment-245129441","issue_url":"https://api.github.com/repos/pixijs/pixi.js/issues/2922","id":245129441,"user":{"login":"GoodBoyDigital","id":3112434,"avatar_url":"https://avatars.githubusercontent.com/u/3112434?v=3","gravatar_id":"","url":"https://api.github.com/users/GoodBoyDigital","html_url":"https://github.com/GoodBoyDigital","followers_url":"https://api.github.com/users/GoodBoyDigital/followers","following_url":"https://api.github.com/users/GoodBoyDigital/following{/other_user}","gists_url":"https://api.github.com/users/GoodBoyDigital/gists{/gist_id}","starred_url":"https://api.github.com/users/GoodBoyDigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoodBoyDigital/subscriptions","organizations_url":"https://api.github.com/users/GoodBoyDigital/orgs","repos_url":"https://api.github.com/users/GoodBoyDigital/repos","events_url":"https://api.github.com/users/GoodBoyDigital/events{/privacy}","received_events_url":"https://api.github.com/users/GoodBoyDigital/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T23:36:58Z","updated_at":"2016-09-06T23:36:58Z","body":"Hi @Adam-Meisen ! Had this issue pop up a few times now and I have recently experienced it myself first hand! Time to get it fied I think 💃 \r\n\r\nWould replacing glsify with raw text do the trick you think? We are not using anything specific to glslify just yet.. \r\n\r\nThoughts welcome! 👍 \r\n\r\n"}}
{"actor":{"display_login":"GoodBoyDigital"}}