{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/315","repository_url":"https://api.github.com/repos/driftyco/ionic-app-scripts","labels_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/315/comments","events_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/315/events","html_url":"https://github.com/driftyco/ionic-app-scripts/issues/315","id":187507609,"number":315,"title":"Barrel error with webpack (0.0.39)","user":{"login":"maxkunitsa","id":9798799,"avatar_url":"https://avatars.githubusercontent.com/u/9798799?v=3","gravatar_id":"","url":"https://api.github.com/users/maxkunitsa","html_url":"https://github.com/maxkunitsa","followers_url":"https://api.github.com/users/maxkunitsa/followers","following_url":"https://api.github.com/users/maxkunitsa/following{/other_user}","gists_url":"https://api.github.com/users/maxkunitsa/gists{/gist_id}","starred_url":"https://api.github.com/users/maxkunitsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxkunitsa/subscriptions","organizations_url":"https://api.github.com/users/maxkunitsa/orgs","repos_url":"https://api.github.com/users/maxkunitsa/repos","events_url":"https://api.github.com/users/maxkunitsa/events{/privacy}","received_events_url":"https://api.github.com/users/maxkunitsa/received_events","type":"User","site_admin":false},"labels":[{"id":439383355,"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-11-05T16:44:03Z","updated_at":"2016-11-08T07:01:54Z","closed_at":null,"body":"#### Short description of the problem:\r\nIn version 0.0.39 rollup bundler works correct, but with webpack bundler i have error in browser console: 'Error: Cannot find module \"../../common/services/index/\"(…)'. This file is barrel.\r\n\r\n#### What behaviour are you expecting?\r\nCorrect build both with rollup or webpack without any error's in console.\r\n\r\n**Steps to reproduce:**\r\n1. Create 'barrel' file in ionic project\r\n2. Run 'ionic serve' with ionic-app-scripts@0.0.39 and webpack as bundler \r\n3. Browser started with white screen and error in console: 'Error: Cannot find module \"../../common/services/index/\"(…)'\r\n\r\n**Example of barrel (https://angular.io/docs/ts/latest/guide/glossary.html#!#sts=Barrel)**\r\n\r\n```\r\n//common/services/index.ts\r\nexport * from './utils/color.utils';\r\nexport * from './utils/localstorage.utils';\r\nexport * from './utils/math.utils';\r\nexport * from './utils/uuid.utils';\r\n```\r\n\r\n\r\n**Which @ionic/app-scripts version are you using?**\r\n0.0.39\r\n\r\n**Other information:** (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)\r\nDont have any ideas\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/comments/259061515","html_url":"https://github.com/driftyco/ionic-app-scripts/issues/315#issuecomment-259061515","issue_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/315","id":259061515,"user":{"login":"maxkunitsa","id":9798799,"avatar_url":"https://avatars.githubusercontent.com/u/9798799?v=3","gravatar_id":"","url":"https://api.github.com/users/maxkunitsa","html_url":"https://github.com/maxkunitsa","followers_url":"https://api.github.com/users/maxkunitsa/followers","following_url":"https://api.github.com/users/maxkunitsa/following{/other_user}","gists_url":"https://api.github.com/users/maxkunitsa/gists{/gist_id}","starred_url":"https://api.github.com/users/maxkunitsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxkunitsa/subscriptions","organizations_url":"https://api.github.com/users/maxkunitsa/orgs","repos_url":"https://api.github.com/users/maxkunitsa/repos","events_url":"https://api.github.com/users/maxkunitsa/events{/privacy}","received_events_url":"https://api.github.com/users/maxkunitsa/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T07:01:54Z","updated_at":"2016-11-08T07:01:54Z","body":"@danbucholtz what about solution in first answer here http://stackoverflow.com/questions/37082601/how-to-import-a-barrel-by-folder-name-only? Do we have place in app-scripts configs where we could try to add path to barrel?"}}
{"actor":{"display_login":"maxkunitsa"}}