Comments (6)
wechat_reframe
instead of wechat-reframe
for the path name?
from shadow-cljs.
Thanks, @jiyinyiyong . I think that is the problem.
I tried to delete the all postfixes -reframe
and it works.
Btw, how should I add cljs dependencies in https://github.com/thheller/shadow-cljs/wiki/ClojureScript-for-JS-Devs#configuration ?
from shadow-cljs.
I've found this way may work. But I don't know whether :exclusions can work.
"shadow-cljs": {
"dependencies": [["reagent", "0.6.1"],
["reagent-utils", "0.2.1"]],
"source-paths": ["src/cljs"]
}
from shadow-cljs.
Yes _
instead of -
. Did the other tool you were using before complain about that?
I want :exclusions
to work but I haven't entirely figured out how to do that.
If you have a project.clj
shadow-cljs
will use that to generate the classpath and not the package.json
. That would be a quick way to get :exclusions
now. I'll try to figure out #30.
from shadow-cljs.
I forgot to use _
instead of -
, and I believe I've met that complain before, sorry for that. 😄
I'll wait to see the example project.clj
because I am not familiar with leiningen
settings.
Thank you so much.
from shadow-cljs.
Example project.clj
:
(defproject my-project "0.0.0"
:dependencies
[[org.clojure/clojure "1.9.0-alpha17"]
[thheller/shadow-cljs "1.0.20170531"]
[reagent "0.6.1"],
[reagent-utils "0.2.1"]
[something "version" :exclusions [foo bar]]
:source-paths
["src/cljs"])
from shadow-cljs.
Related Issues (20)
- Warnings on using decprecated-fn in a deprecated-fn HOT 3
- CLJS build failure HOT 2
- class shadow.undertow$fn$reify__11358 cannot be cast to class clojure.lang.Var$Frame HOT 3
- Requiring a namespace with an underscore instead of dash gets par-compile stuck
- :js-provider :external should support :modules
- Mention that build report only works for :browser target HOT 9
- Issue with CORS in dev HTTP server since 2.25.10 release HOT 2
- :module-hash-names doesn't work with :web-worker true
- Build report for :node-library builds needlessly requires :output-dir
- Preloads with a top-level namespace don't load macros HOT 3
- 2.26.5 incorrectly tagging @dagrejs/dagre npm module js file as es3 HOT 2
- date-fns v3.3.1 and shadow-cljs 2.26.5 to 2.26.6 triggers ICE HOT 2
- Compiling squint-cljs (via @nextjournal/clojure-mode) on 2.27.1 throws ICE HOT 14
- npm-module exports vars in random order with large namespaces HOT 2
- Check namespaced keywords for build ids
- More readable error log with pre-line for browser-test HOT 3
- Srting handling different to clj HOT 1
- `Caused by: java.lang.IllegalStateException: Attempting to call unbound fn: #'clojure.tools.analyzer.utils/update-vals` when trying to import a dependency via git HOT 9
- #shadow/env not working in ~/.config/shadow-cljs/config.edn? HOT 7
- How to debug the par-compiler for :cache-level :all HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shadow-cljs.