boot

:boot-clj: https://boot-clj.github.io/ — build tooling for Clojure. Dev chat in #boot-dev
2018-05-13T13:48:45.000106Z

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?

flyboarder 2018-05-13T18:36:28.000001Z

@attentive so I recomment also using the node-modules task within boot-npm

1💯
flyboarder 2018-05-13T18:37:08.000098Z

but I am around to fix any issues with boot-npm

flyboarder 2018-05-13T18:39:00.000014Z

node_modules should be included to the fileset as a resource

flyboarder 2018-05-13T18:39:10.000034Z

which version of the task are you running?

2018-05-13T21:44:09.000117Z

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.