Use standard cljsbuild compiler options for one file

This commit is contained in:
Jeremy Dormitzer 2018-01-11 18:23:35 -05:00
parent 12e9d50a45
commit 6db8adfa9d
No known key found for this signature in database
GPG Key ID: 04F17C0F5A32C320
2 changed files with 4 additions and 9 deletions

View File

@ -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",

View File

@ -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"}}]})