Add :profiles prefix for dev dependencies path

This commit is contained in:
Daniel Compton 2017-07-18 09:51:05 +12:00 committed by GitHub
parent bd7ed03206
commit 63162b3797
1 changed files with 4 additions and 3 deletions

View File

@ -18,11 +18,12 @@ Compile your app with `:closure-defines: "re_frame.trace.trace_enabled_QMARK_" t
So when using leiningen, add the following to `project.clj`:
- `[day8.re-frame/trace "0.1.0"]` in `:dev :dependencies`
- `[day8.re-frame/trace "0.1.0"]` in `:profiles :dev :dependencies`
```cljs
{:dev
{:dependencies [day8.re-frame/trace "0.1.0"] }}
{:profiles
{:dev
{:dependencies [day8.re-frame/trace "0.1.0"] }}
```
- `:closure-defines: "re_frame.trace.trace_enabled_QMARK_" true` and `:preloads [day8.re-frame.trace.preload]` in `:compiler`