{"action":"closed","issue":{"url":"https://api.github.com/repos/benmarch/angular-ui-tour/issues/189","repository_url":"https://api.github.com/repos/benmarch/angular-ui-tour","labels_url":"https://api.github.com/repos/benmarch/angular-ui-tour/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/benmarch/angular-ui-tour/issues/189/comments","events_url":"https://api.github.com/repos/benmarch/angular-ui-tour/issues/189/events","html_url":"https://github.com/benmarch/angular-ui-tour/issues/189","id":355092117,"node_id":"MDU6SXNzdWUzNTUwOTIxMTc=","number":189,"title":"Incompatibility with browserify","user":{"login":"muliyul","id":8338082,"node_id":"MDQ6VXNlcjgzMzgwODI=","avatar_url":"https://avatars0.githubusercontent.com/u/8338082?v=4","gravatar_id":"","url":"https://api.github.com/users/muliyul","html_url":"https://github.com/muliyul","followers_url":"https://api.github.com/users/muliyul/followers","following_url":"https://api.github.com/users/muliyul/following{/other_user}","gists_url":"https://api.github.com/users/muliyul/gists{/gist_id}","starred_url":"https://api.github.com/users/muliyul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muliyul/subscriptions","organizations_url":"https://api.github.com/users/muliyul/orgs","repos_url":"https://api.github.com/users/muliyul/repos","events_url":"https://api.github.com/users/muliyul/events{/privacy}","received_events_url":"https://api.github.com/users/muliyul/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-29T10:15:01Z","updated_at":"2018-11-01T14:50:47Z","closed_at":"2018-11-01T14:50:47Z","author_association":"NONE","body":"**I am using the _exact_ versions of the following:**\r\n\r\n* Browser: [Chome] Version: 68\r\n* AngularJS: 1.6.4\r\n* Angular UI Tour: 0.9.2\r\n\r\n**I have installed this library via:** (NPM, Bower, or downloaded package)\r\nnpm\r\n\r\n**I have observed the following behavior:**\r\n>Cannot find module '!!../../node_modules/css-loader/index.js!./angular-ui-tour.css' from '/Users/\\*/projects/\\*/node_modules/angular-ui-tour/dist'.\r\n\r\nI substituted some of the path so ignore asterisks.\r\n\r\n**This is how I expected it to behave:**\r\nBundle correctly with browserify\r\n\r\n**Here is my tour config, and all related step configs:**\r\nIrrelevant\r\n\r\n\r\nHere's how I import AUIT: `require('angular-ui-tour');`\r\nI've also attempted to use `require('angular-ui-tour/dist/angular-ui-tour');`\r\n\r\n**Additional info:**\r\nBy removing these lines from the dist file I was able to require the file correctly so perhaps a webpack config issue?\r\n```\r\n// file: dist/angular-ui-tour.js lines 196-207\r\nif(false) {\r\n\t// When the styles change, update the <style> tags\r\n\tif(!content.locals) {\r\n\t\tmodule.hot.accept(\"!!../../node_modules/css-loader/index.js!./angular-ui-tour.css\", function() {\r\n\t\t\tvar newContent = require(\"!!../../node_modules/css-loader/index.js!./angular-ui-tour.css\");\r\n\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\r\n\t\t\tupdate(newContent);\r\n\t\t});\r\n\t}\r\n\t// When the module is disposed, remove the <style> tags\r\n\tmodule.hot.dispose(function() { update(); });\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"benmarch"}}