Fork me on GitHub
#figwheel-main
<
2021-07-14
>
fenton14:07:54

advanced will compress the resulting javascript...really no way to go from that back to the original clojurescript. (last part of your question)

fenton15:07:42

is it possible to use figwheel-main without

clojure -m figwheel.main
?

ChillPillzKillzBillz15:07:36

In this case I just get the REPS host page for figwheel main. But it is possible to run just that... yes!

ChillPillzKillzBillz15:07:16

As you can see from my deps.edn I am already using the advanced option in the min build config... it just fails... that is the problem

fenton15:07:53

sorry @U022LK3L4JJ the second post of mine was my own question, not an answer to your question. sorry for the confusion.

ChillPillzKillzBillz15:07:21

no problem... I would still like to resolve this issue... thanks for your help!!

fenton15:07:48

maybe open up your core.js and see what is at position 2?

ChillPillzKillzBillz16:07:23

you mean line 2? the following are the first few lines from core.js in the target folder...

// Compiled by ClojureScript 1.10.773 {}
goog.provide('svgcont.core');
goog.require('cljs.core');
goog.require('cljs.spec.alpha');
goog.require('goog.dom');
goog.require('goog.string');
goog.require('goog.events');
goog.require('reagent.core');
goog.require('reagent.dom');
goog.require('svgcont.svgcontainer');
goog.require('cljs.core.async');

ChillPillzKillzBillz14:07:51

I fixed it!! In case anybody wants to know... this core.js file is autogenerated... however if it already exists... it'll have this 1st line "// compiled".... To build with the min configuration, all that is needed is to delete this line... the build process puts the line back... but the build doesn't fail!! Riddle me that!! 😄 I am happy I can build!!