This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-13
Channels
- # beginners (202)
- # boot (7)
- # cider (14)
- # clara (2)
- # cljs-dev (7)
- # clojure (56)
- # clojure-italy (9)
- # clojure-spec (6)
- # clojure-uk (12)
- # clojurescript (40)
- # core-async (3)
- # datomic (6)
- # duct (1)
- # editors (10)
- # emacs (5)
- # fulcro (24)
- # off-topic (16)
- # onyx (4)
- # pedestal (1)
- # planck (8)
- # portkey (2)
- # re-frame (31)
- # reagent (23)
- # tools-deps (8)
- # vim (3)
Hey gang, had a bit of an npm and boot question … I’m using degree9/boot-npm
to retrieve NPM packages to node_modules
in a boot cache directory during my boot build, including bootstrap SCSS.
I’d like to reference bootstrap SCSS includes as @import 'bootstrap/…'
in my own SCSS, which I’m compiling with deraen/boot-sass
, but they are not found as resources in the classpath by the @import
statement.
What’s the best way to add node_modules
to the classpath during a Boot build so they get picked up the way I want?
Thanks for your reply … I’ve had a look at node-modules and it looks promising, will have time to check it out later today.
Yeah thanks, that turned out to be easy. I was trying to set boot-npm
up totally against the grain I think
but I am around to fix any issues with boot-npm
node_modules
should be included to the fileset as a resource
which version of the task are you running?
Thanks for your reply … I’ve had a look at node-modules and it looks promising, will have time to check it out later today.