This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-16
Channels
- # announcements (2)
- # aws (2)
- # babashka (29)
- # beginners (69)
- # calva (6)
- # chlorine-clover (2)
- # cider (1)
- # cljs-dev (4)
- # clojure (44)
- # clojure-israel (1)
- # clojure-spec (3)
- # clojure-uk (31)
- # clojured (2)
- # clojurescript (6)
- # code-reviews (22)
- # core-typed (133)
- # cryogen (6)
- # cursive (7)
- # datomic (25)
- # emacs (19)
- # fulcro (69)
- # graalvm (1)
- # graphql (7)
- # lumo (1)
- # off-topic (92)
- # parinfer (2)
- # pedestal (6)
- # reagent (5)
- # remote-jobs (1)
- # shadow-cljs (11)
- # tools-deps (20)
- # tree-sitter (1)
- # vim (4)
- # vscode (6)
How do I set web-accessible-resources with shadow for chrome-extension target? I want to include a content script css file. https://stackoverflow.com/questions/11553600/how-to-inject-css-using-content-script-file-in-chrome-extension
Wow, that worked, thank you.
@UQ4RJ22EA Im having the same problem and I tried putting it into the manifest.edn but it didn't work. The manifext.json was malformed I had tried:
:content-scripts [{:css ["re-frame-modal.css"]}]
and
:content-scripts {:css ["re-frame-modal.css"]}
neither produced manifest.json that was accepted by chrome extension loading. I could manually set the manifest.json and that would work.
Could you show me what you put in the manifest.edn to get the css file to be accepted? Thanks:web-accessible-resources ["assets/content-style.css"]
:content-scripts [{:css ["assets/content-style.css"] :matches ["<all_urls>"]}]
has anyone had success importing react-dnd? https://github.com/react-dnd/react-dnd
my build fails when i require
the necessary packages
["react-dnd" :refer [DragDropContext DropTarget DragSource DragLayer]]
with the following build failure
[:app] Build failure:
The required JS dependency "domain" is not available, it was required by "node_modules/@react-dnd/asap/dist/cjs/node/raw.js".
Search in:
/Users/josh/src/rodeorockstar/genpoetry/node_modules
You probably need to run:
npm install domain
i've also manually added domain yarn add domain
and tried to require it directly with the same error message as aboveI just started getting an error about a CLJC file not finding itself to import macros from:
Failed reading cache for theta.log: failed to require macro-ns "theta.log", it was required by "theta.log"
The file is like:
(ns theta.log
#?(:cljs (:require-macros [theta.log]))
This just started. Is this a cache problem?