From 6db8adfa9d43798c923662c28c1fba7d8813215e Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Thu, 11 Jan 2018 18:23:35 -0500 Subject: [PATCH] Use standard cljsbuild compiler options for one file --- ext/manifest.json | 4 +--- project.clj | 9 +++------ 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/ext/manifest.json b/ext/manifest.json index 4a68575..a6979da 100644 --- a/ext/manifest.json +++ b/ext/manifest.json @@ -10,9 +10,7 @@ "128": "icons/icon128.png" }, "background": { - "scripts": ["js/browser-polyfill.min.js", - "js/generated/out/cljs_base.js", - "js/generated/main.js"] + "scripts": ["js/browser-polyfill.min.js", "js/generated/main.js"] }, "browser_action": { "default_icon": "icons/icon48.png", diff --git a/project.clj b/project.clj index 4db89b8..d008910 100644 --- a/project.clj +++ b/project.clj @@ -11,10 +11,7 @@ :plugins [[lein-cljsbuild "1.1.7"]] :cljsbuild {:builds [{:source-paths ["src"] :compiler {:optimizations :simple - :source-map true :pretty-print true - :output-dir "ext/js/generated/out" - :modules - {:background - {:output-to "ext/js/generated/main.js" - :entries #{"looped-in.main"}}}}}]}) + :output-to "ext/js/generated/main.js" + :source-map "ext/js/generated/main.js.map" + :output-dir "ext/js/generated/out"}}]})