diff --git a/dev.cljs.edn b/dev.cljs.edn index d4ac0319..d5083bab 100644 --- a/dev.cljs.edn +++ b/dev.cljs.edn @@ -3,9 +3,6 @@ :output-to "resources/public/js/compiled/app.js" :output-dir "resources/public/js/compiled/" :infer-externs true - :bundle-cmd {:none ["npx" "webpack" "--mode=development" :output-to + :bundle-cmd {:none ["npx" "webpack" "--mode=production" :output-to "--output-path" :final-output-dir - "--output-filename" :final-output-filename] - :default ["npx" "webpack" "--mode=production" :output-to - "--output-path" :final-output-dir - "--output-filename" :final-output-filename]}} + "--output-filename" :final-output-filename]}} diff --git a/project.clj b/project.clj index b0d8914a..a033d0e7 100644 --- a/project.clj +++ b/project.clj @@ -85,6 +85,8 @@ :profiles {:dev + + {:resource-paths ["resources" "target"] :dependencies [[binaryage/devtools "0.9.4"] #_[refactor-nrepl "2.5.0"]