From 48b48e9137f0bc860c127033c156a7abf07f27b6 Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Mon, 21 Dec 2020 08:48:01 -0800 Subject: [PATCH] Revert "Revert "Shipping fixes"" This reverts commit 001ab64776e11d63ad29980c2bed5e8eddb65144. --- dev.cljs.edn | 7 +++++-- project.clj | 2 -- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dev.cljs.edn b/dev.cljs.edn index d5083bab..d4ac0319 100644 --- a/dev.cljs.edn +++ b/dev.cljs.edn @@ -3,6 +3,9 @@ :output-to "resources/public/js/compiled/app.js" :output-dir "resources/public/js/compiled/" :infer-externs true - :bundle-cmd {:none ["npx" "webpack" "--mode=production" :output-to + :bundle-cmd {:none ["npx" "webpack" "--mode=development" :output-to "--output-path" :final-output-dir - "--output-filename" :final-output-filename]}} + "--output-filename" :final-output-filename] + :default ["npx" "webpack" "--mode=production" :output-to + "--output-path" :final-output-dir + "--output-filename" :final-output-filename]}} diff --git a/project.clj b/project.clj index a033d0e7..b0d8914a 100644 --- a/project.clj +++ b/project.clj @@ -85,8 +85,6 @@ :profiles {:dev - - {:resource-paths ["resources" "target"] :dependencies [[binaryage/devtools "0.9.4"] #_[refactor-nrepl "2.5.0"]