{"action":"created","issue":{"url":"https://api.github.com/repos/puikinsh/gentelella/issues/691","repository_url":"https://api.github.com/repos/puikinsh/gentelella","labels_url":"https://api.github.com/repos/puikinsh/gentelella/issues/691/labels{/name}","comments_url":"https://api.github.com/repos/puikinsh/gentelella/issues/691/comments","events_url":"https://api.github.com/repos/puikinsh/gentelella/issues/691/events","html_url":"https://github.com/puikinsh/gentelella/issues/691","id":324523338,"number":691,"title":"fails to find moment module even when moment.min.js is included in the page","user":{"login":"anadimisra","id":1317613,"avatar_url":"https://avatars1.githubusercontent.com/u/1317613?v=4","gravatar_id":"","url":"https://api.github.com/users/anadimisra","html_url":"https://github.com/anadimisra","followers_url":"https://api.github.com/users/anadimisra/followers","following_url":"https://api.github.com/users/anadimisra/following{/other_user}","gists_url":"https://api.github.com/users/anadimisra/gists{/gist_id}","starred_url":"https://api.github.com/users/anadimisra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anadimisra/subscriptions","organizations_url":"https://api.github.com/users/anadimisra/orgs","repos_url":"https://api.github.com/users/anadimisra/repos","events_url":"https://api.github.com/users/anadimisra/events{/privacy}","received_events_url":"https://api.github.com/users/anadimisra/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-18T19:17:40Z","updated_at":"2018-05-20T10:08:24Z","closed_at":"2018-05-20T10:08:24Z","author_association":"NONE","body":"I'm using `laravel-mix` and `webpack` to process JS / CSS to used in my application, the gentelella js are all added to single theme.js in my app\r\n```javascript\r\nmix.js([\r\n    'node_modules/gentelella/vendors/fastclick/lib/fastclick.js',\r\n    'node_modules/gentelella/vendors/nprogress/nprogress.js',\r\n    'node_modules/gentelella/vendors/Chart.js/dist/Chart.min.js',\r\n    'node_modules/gentelella/vendors/gauge.js/dist/gauge.min.js',\r\n    'node_modules/gentelella/vendors/bootstrap-progressbar/bootstrap-progressbar.min.js',\r\n    'node_modules/gentelella/vendors/iCheck/icheck.min.js',\r\n    'node_modules/gentelella/vendors/skycons/skycons.js',\r\n    'node_modules/gentelella/vendors/Flot/jquery.flot.js',\r\n    'node_modules/gentelella/vendors/Flot/jquery.flot.pie.js',\r\n    'node_modules/gentelella/vendors/Flot/jquery.flot.time.js',\r\n    'node_modules/gentelella/vendors/Flot/jquery.flot.stack.js',\r\n    'node_modules/gentelella/vendors/Flot/jquery.flot.resize.js',\r\n    'node_modules/gentelella/vendors/flot.orderbars/js/jquery.flot.orderBars.js',\r\n    'node_modules/gentelella/vendors/flot-spline/js/jquery.flot.spline.min.js',\r\n    'node_modules/gentelella/vendors/flot.curvedlines/curvedLines.js',\r\n    'node_modules/gentelella/vendors/DateJS/build/date.js',\r\n    'node_modules/gentelella/vendors/jqvmap/dist/jquery.vmap.js',\r\n    'node_modules/gentelella/vendors/jqvmap/dist/maps/jquery.vmap.world.js',\r\n    'node_modules/gentelella/vendors/jqvmap/examples/js/jquery.vmap.sampledata.js',\r\n    'node_modules/gentelella/production/js/moment/moment.min.js',\r\n    'node_modules/gentelella/vendors/bootstrap-daterangepicker/daterangepicker.js',\r\n],'public/js/theme.js').version();\r\n```\r\n\r\nwhen I run `npm run dev` I get this error \r\n\r\n```shell\r\nERROR in ./node_modules/gentelella/vendors/bootstrap-daterangepicker/daterangepicker.js\r\nModule not found: Error: Can't resolve 'moment' in '/Users/anadi/Code/github/invoicely/node_modules/gentelella/vendors/bootstrap-daterangepicker'\r\n @ ./node_modules/gentelella/vendors/bootstrap-daterangepicker/daterangepicker.js 12:8-14:10\r\n```"},"comment":{"url":"https://api.github.com/repos/puikinsh/gentelella/issues/comments/390470418","html_url":"https://github.com/puikinsh/gentelella/issues/691#issuecomment-390470418","issue_url":"https://api.github.com/repos/puikinsh/gentelella/issues/691","id":390470418,"user":{"login":"anadimisra","id":1317613,"avatar_url":"https://avatars1.githubusercontent.com/u/1317613?v=4","gravatar_id":"","url":"https://api.github.com/users/anadimisra","html_url":"https://github.com/anadimisra","followers_url":"https://api.github.com/users/anadimisra/followers","following_url":"https://api.github.com/users/anadimisra/following{/other_user}","gists_url":"https://api.github.com/users/anadimisra/gists{/gist_id}","starred_url":"https://api.github.com/users/anadimisra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anadimisra/subscriptions","organizations_url":"https://api.github.com/users/anadimisra/orgs","repos_url":"https://api.github.com/users/anadimisra/repos","events_url":"https://api.github.com/users/anadimisra/events{/privacy}","received_events_url":"https://api.github.com/users/anadimisra/received_events","type":"User","site_admin":false},"created_at":"2018-05-20T10:08:24Z","updated_at":"2018-05-20T10:08:24Z","author_association":"NONE","body":"my bad I had to use mix.scripts instead of mix.js "}}
{"actor":{"display_login":"anadimisra"}}