{"action":"created","issue":{"url":"https://api.github.com/repos/lathonez/clicker/issues/15","repository_url":"https://api.github.com/repos/lathonez/clicker","labels_url":"https://api.github.com/repos/lathonez/clicker/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/lathonez/clicker/issues/15/comments","events_url":"https://api.github.com/repos/lathonez/clicker/issues/15/events","html_url":"https://github.com/lathonez/clicker/issues/15","id":136077599,"number":15,"title":"exclude test folder from webpack compilation","user":{"login":"BugsBunnyBR","id":70573,"avatar_url":"https://avatars.githubusercontent.com/u/70573?v=3","gravatar_id":"","url":"https://api.github.com/users/BugsBunnyBR","html_url":"https://github.com/BugsBunnyBR","followers_url":"https://api.github.com/users/BugsBunnyBR/followers","following_url":"https://api.github.com/users/BugsBunnyBR/following{/other_user}","gists_url":"https://api.github.com/users/BugsBunnyBR/gists{/gist_id}","starred_url":"https://api.github.com/users/BugsBunnyBR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BugsBunnyBR/subscriptions","organizations_url":"https://api.github.com/users/BugsBunnyBR/orgs","repos_url":"https://api.github.com/users/BugsBunnyBR/repos","events_url":"https://api.github.com/users/BugsBunnyBR/events{/privacy}","received_events_url":"https://api.github.com/users/BugsBunnyBR/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-02-24T14:31:38Z","updated_at":"2016-02-29T13:51:15Z","closed_at":"2016-02-29T05:41:28Z","body":"If you decompile the current generated apk, the test folder is being included in the build and shipped with the apk.\r\nI tried to add\r\n`\r\n  exclude: [\r\n          /\\.(e2e|spec)\\.ts$/,\r\n          /node_modules/,\r\n          /test/\r\n        ]\r\n`\r\nto webpack.config.js, while it seems to be something right, it is not enough to avoid the packing of the www/build/test folder generated when the tests are executed. If it is too hard to make webpack ignore the folder, can we delete the www/build/test after the tests are executed?\r\n"},"comment":{"url":"https://api.github.com/repos/lathonez/clicker/issues/comments/190219562","html_url":"https://github.com/lathonez/clicker/issues/15#issuecomment-190219562","issue_url":"https://api.github.com/repos/lathonez/clicker/issues/15","id":190219562,"user":{"login":"BugsBunnyBR","id":70573,"avatar_url":"https://avatars.githubusercontent.com/u/70573?v=3","gravatar_id":"","url":"https://api.github.com/users/BugsBunnyBR","html_url":"https://github.com/BugsBunnyBR","followers_url":"https://api.github.com/users/BugsBunnyBR/followers","following_url":"https://api.github.com/users/BugsBunnyBR/following{/other_user}","gists_url":"https://api.github.com/users/BugsBunnyBR/gists{/gist_id}","starred_url":"https://api.github.com/users/BugsBunnyBR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BugsBunnyBR/subscriptions","organizations_url":"https://api.github.com/users/BugsBunnyBR/orgs","repos_url":"https://api.github.com/users/BugsBunnyBR/repos","events_url":"https://api.github.com/users/BugsBunnyBR/events{/privacy}","received_events_url":"https://api.github.com/users/BugsBunnyBR/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T13:51:15Z","updated_at":"2016-02-29T13:51:15Z","body":"Great! Using grdle would help only android builds, so using cordova hooks should solve the issue for android and ios! \r\nJust one question.. don't you have the \"hooks\" folder in your project? It seems to be the [default folder](https://github.com/BugsBunnyBR/ionic2-app-base/tree/master/hooks) name..."}}