{"action":"created","issue":{"url":"https://api.github.com/repos/emezeske/lein-cljsbuild/issues/420","labels_url":"https://api.github.com/repos/emezeske/lein-cljsbuild/issues/420/labels{/name}","comments_url":"https://api.github.com/repos/emezeske/lein-cljsbuild/issues/420/comments","events_url":"https://api.github.com/repos/emezeske/lein-cljsbuild/issues/420/events","html_url":"https://github.com/emezeske/lein-cljsbuild/issues/420","id":111036405,"number":420,"title":"Prepend js dependencies not working in :advanced mode","user":{"login":"arichiardi","id":1724788,"avatar_url":"https://avatars.githubusercontent.com/u/1724788?v=3","gravatar_id":"","url":"https://api.github.com/users/arichiardi","html_url":"https://github.com/arichiardi","followers_url":"https://api.github.com/users/arichiardi/followers","following_url":"https://api.github.com/users/arichiardi/following{/other_user}","gists_url":"https://api.github.com/users/arichiardi/gists{/gist_id}","starred_url":"https://api.github.com/users/arichiardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arichiardi/subscriptions","organizations_url":"https://api.github.com/users/arichiardi/orgs","repos_url":"https://api.github.com/users/arichiardi/repos","events_url":"https://api.github.com/users/arichiardi/events{/privacy}","received_events_url":"https://api.github.com/users/arichiardi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-12T19:09:54Z","updated_at":"2015-10-12T19:46:14Z","closed_at":"2015-10-12T19:46:14Z","body":"Dear ```cljsbuild``` team,\r\ncan you guys have a quick look at my issue here: https://github.com/cljsjs/packages/pull/256\r\n(sorry I am cross posting this everywhere because I want to find some way to debug it).\r\n\r\nI really don't know what is going on, it looks like cljsbuild is not prepending minified deps when ```:optimizations :advanced```.\r\n\r\nI see here that for example I don't have ```$``` defined and all my ```jqconsole``` stuff. If I include my deps in the html manually, similarly to [here](https://github.com/reagent-project/reagent-cookbook/tree/master/recipes/draggable#step-2-add-necessary-items-to-resourcespublicindexhtml), it works!\r\n\r\nBut I was under the impression that I did not need it. For example, I see this in my minified js:\r\n```\r\n/**\r\n * React v0.13.3\r\n *\r\n * Copyright 2013-2015, Facebook, Inc.\r\n * All rights reserved.\r\n *\r\n * This source code is licensed under the BSD-style license found in the\r\n * LICENSE file in the root directory of this source tree. An additional grant\r\n * of patent rights can be found in the PATENTS file in the same directory.\r\n *\r\n */\r\n```\r\n\r\nTherefore react *is* prepended. With ```:optimizations :none``` everything is fine and I see all the js files dynamically added to my page.\r\n\r\nI am working with ```[lein-cljsbuild \"1.1.0\"]``` at the moment and open for testing and experimenting as well.\r\n\r\nThanks!\r\n"},"comment":{"url":"https://api.github.com/repos/emezeske/lein-cljsbuild/issues/comments/147501627","html_url":"https://github.com/emezeske/lein-cljsbuild/issues/420#issuecomment-147501627","issue_url":"https://api.github.com/repos/emezeske/lein-cljsbuild/issues/420","id":147501627,"user":{"login":"arichiardi","id":1724788,"avatar_url":"https://avatars.githubusercontent.com/u/1724788?v=3","gravatar_id":"","url":"https://api.github.com/users/arichiardi","html_url":"https://github.com/arichiardi","followers_url":"https://api.github.com/users/arichiardi/followers","following_url":"https://api.github.com/users/arichiardi/following{/other_user}","gists_url":"https://api.github.com/users/arichiardi/gists{/gist_id}","starred_url":"https://api.github.com/users/arichiardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arichiardi/subscriptions","organizations_url":"https://api.github.com/users/arichiardi/orgs","repos_url":"https://api.github.com/users/arichiardi/repos","events_url":"https://api.github.com/users/arichiardi/events{/privacy}","received_events_url":"https://api.github.com/users/arichiardi/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T19:46:14Z","updated_at":"2015-10-12T19:46:14Z","body":"Ok thanks, I think it is some sort of ```cljsbuild```/```cljsjs``` problem, but I will try to come up with some more detail. I just hoped you guys could give me some ```-debug``` switch to see what is going on :smile: \r\n\r\nThanks anyways! I am closing this.\r\n"}}