Use standard cljsbuild compiler options for one file
This commit is contained in:
parent
12e9d50a45
commit
6db8adfa9d
@ -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",
|
||||
|
@ -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"}}]})
|
||||
|
Loading…
Reference in New Issue
Block a user