I'm using Boot to build a Clojure(Script) web app. The browser loads the transpiled code from http://localhost:8080/main.out/calculators/frontend/core.js
The last line of that file is
//# sourceMappingURL=core.js.map
I can load that map file from the browser using the URL http://localhost:8080/main.out/calculators/frontend/core.js.map
However, if in Chrome Dev Tools' Sources panel I search for the corresponding ClojureScript file, it appears with a wrong URL (see the main.out/calculators/frontend
nested in itself) http://localhost:8080/main.out/calculators/frontend/main.out/calculators/frontend/core.cljs
and when loaded, no code is shown and "(source mapped from core.js)" appears in the status bar.
Which could be the problem?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.