{"action":"closed","issue":{"url":"https://api.github.com/repos/anseki/htmlclean/issues/12","repository_url":"https://api.github.com/repos/anseki/htmlclean","labels_url":"https://api.github.com/repos/anseki/htmlclean/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/anseki/htmlclean/issues/12/comments","events_url":"https://api.github.com/repos/anseki/htmlclean/issues/12/events","html_url":"https://github.com/anseki/htmlclean/issues/12","id":362137668,"node_id":"MDU6SXNzdWUzNjIxMzc2Njg=","number":12,"title":"'Module not found' error when using in angular app","user":{"login":"mcenkar","id":11230749,"node_id":"MDQ6VXNlcjExMjMwNzQ5","avatar_url":"https://avatars2.githubusercontent.com/u/11230749?v=4","gravatar_id":"","url":"https://api.github.com/users/mcenkar","html_url":"https://github.com/mcenkar","followers_url":"https://api.github.com/users/mcenkar/followers","following_url":"https://api.github.com/users/mcenkar/following{/other_user}","gists_url":"https://api.github.com/users/mcenkar/gists{/gist_id}","starred_url":"https://api.github.com/users/mcenkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcenkar/subscriptions","organizations_url":"https://api.github.com/users/mcenkar/orgs","repos_url":"https://api.github.com/users/mcenkar/repos","events_url":"https://api.github.com/users/mcenkar/events{/privacy}","received_events_url":"https://api.github.com/users/mcenkar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-09-20T11:10:06Z","updated_at":"2018-09-25T06:37:52Z","closed_at":"2018-09-25T06:37:52Z","author_association":"NONE","body":"Hi, when I want to use htmlclean in new angular app\r\n\r\n```\r\nimport * as htmlclean from 'htmlclean';\r\n```\r\n\r\nAnd then `htmlclean(someCode)` it gives me error:\r\n\r\n```\r\nERROR in ./node_modules/htmlclean/lib/htmlclean.js\r\nModule not found: Error: Can't resolve './pathdata' in '...\\node_modules\\htmlclean\\lib'\r\n @ ./node_modules/htmlclean/lib/htmlclean.js 23:13-34\r\n...\r\n\r\nERROR in ./node_modules/htmlclean/lib/htmlclean.js\r\nModule not found: Error: Can't resolve './phrasing-elements' in '...\\node_modules\\htmlclean\\lib'\r\n @ ./node_modules/htmlclean/lib/htmlclean.js 21:24-54\r\n...\r\n```"}}
{"actor":{"display_login":"anseki"}}