figwheel-main

fenton 2021-07-14T14:59:54.033Z

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

fenton 2021-07-14T15:12:42.033900Z

is it possible to use figwheel-main without

clojure -m figwheel.main
?

ChillPillzKillzBillz 2021-07-14T15:26:36.034100Z

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

ChillPillzKillzBillz 2021-07-14T15:27:16.034300Z

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

fenton 2021-07-14T15:43:53.034500Z

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

ChillPillzKillzBillz 2021-07-14T15:44:21.034700Z

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

fenton 2021-07-14T15:45:48.034900Z

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

ChillPillzKillzBillz 2021-07-14T16:01:23.035100Z

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');

ChillPillzKillzBillz 2021-07-21T14:53:51.036300Z

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!!