Fork me on GitHub
#cljsjs
<
2016-09-14
>
michael.heuberger23:09:58

hello again … hitting a snag here trying to add a new zxcvbn library. when downloading and extracting the source, it has this line at the end of the file //# sourceMappingURL=zxcvbn.js.map

michael.heuberger23:09:11

so i also moved the attached source map in the package task like this:

(sift :move {#"zxcvbn-.*/dist/zxcvbn.js$" "cljsjs/zxcvbn/production/zxcvbn.js"})
    (sift :move {#"zxcvbn-.*/dist/zxcvbn.js.map$" "cljsjs/zxcvbn/production/zxcvbn.js.map”})

michael.heuberger23:09:34

but now, boot complains and says it must be .inc

michael.heuberger23:09:09

if i change that to inc, then //# sourceMappingURL=zxcvbn.js.map won’t find that inc file and there will be 404s

michael.heuberger23:09:22

ah, fixed that with the useful replace-content fn