                                         :output-to "resources/public/js/dev.js"
                                         :output-dir "resources/public/js/dev"
                                         :source-map true
-                                        :foreign-libs [{:file "public/element.js"
+                                        :foreign-libs [{:file "resources/public/element.js"
                                                         :provides ["asciinema.player.element"]}
-                                                       {:file "codepoint-polyfill.js"
+                                                       {:file "vt/resources/codepoint-polyfill.js"
                                                         :provides ["asciinema.vt.codepoint-polyfill"]}]
                                         :optimizations :none
                                         :pretty-print true}}

                                            :output-dir "resources/public/js/release"
                                            :closure-defines {goog.DEBUG false}
                                            :preamble ["license.js" "public/CustomEvent.js" "public/CustomElements.min.js"]
                                            :foreign-libs [{:file "public/element.js"
                                                            :provides ["asciinema.player.element"]}
                                                           {:file "codepoint-polyfill.js"
                                                            :provides ["asciinema.vt.codepoint-polyfill"]}]
                                            :optimizations :advanced
                                            :elide-asserts true

  :clean-targets ^{:protect false} ["resources/public/js" "target" "out"]

  :source-paths ["src" "vt/src"]

  :profiles {:dev {:dependencies [[com.cemerick/piggieback "0.2.1"]
                                  [org.clojure/tools.nrepl "0.2.10"]
                                  [environ "1.0.1"]
                                  [figwheel-sidecar "0.5.14"]]
                   :plugins [[refactor-nrepl "1.1.0"]]
                   :source-paths ["dev/clj" "dev/cljs"]}
             :repl {:plugins [[cider/cider-nrepl "0.10.0"]]}}
