mirror of https://github.com/status-im/reagent.git
Move shim-process and fix create-react-class npm-deps version
This commit is contained in:
parent
2aa6f5fd2d
commit
17fc0b9413
|
@ -50,8 +50,7 @@
|
||||||
:elide-asserts true
|
:elide-asserts true
|
||||||
:pretty-print false
|
:pretty-print false
|
||||||
;; :pseudo-names true
|
;; :pseudo-names true
|
||||||
:output-dir "target/client"
|
:output-dir "target/client"}}}}}]
|
||||||
:shim-process true}}}}}]
|
|
||||||
|
|
||||||
:prerender [:prod
|
:prerender [:prod
|
||||||
{:cljsbuild
|
{:cljsbuild
|
||||||
|
@ -98,9 +97,11 @@
|
||||||
:output-to "outsite/public/js/main.js"
|
:output-to "outsite/public/js/main.js"
|
||||||
:language-in :ecmascript6
|
:language-in :ecmascript6
|
||||||
:language-out :ecmascript3
|
:language-out :ecmascript3
|
||||||
|
;; Add process.env.NODE_ENV preload
|
||||||
|
:shim-process true
|
||||||
:npm-deps {:react "15.6.1"
|
:npm-deps {:react "15.6.1"
|
||||||
:react-dom "15.6.1"
|
:react-dom "15.6.1"
|
||||||
:create-react-class "15.5.3"}}}}}
|
:create-react-class "15.6.0"}}}}}
|
||||||
|
|
||||||
:figwheel {:http-server-root "public" ;; assumes "resources"
|
:figwheel {:http-server-root "public" ;; assumes "resources"
|
||||||
:repl false})
|
:repl false})
|
||||||
|
|
Loading…
Reference in New Issue