Anyone else using re-frame-10x with the new webpack? If you use :exclusions [cljsjs/react-highlight]
so that :npm-deps true
works it doesn’t take that well… It seems to work without using the exclusions, but I’m not 100% certain that’s a good thing…
@folcon I just wrote this up
https://figwheel.org/docs/npm.html#problems-with-cached-compiled-assets
I added a :clean-outputs
Figwheel option and a --clean
CLI opt to the 0.2.9 release of figwheel.main
this is more than likely what you are running into again
this may not solve your problem with re-frame-10x as it depends on how they refer to the react-highlight library
This may not be right https://github.com/day8/re-frame-10x/blob/master/src/day8/re_frame_10x/view/components.cljs#L11
yep that’s a problem the global-export name is react-highlight.js and not react-highlight
Ok, not sure if that’s something they’ll want to change?
Reading your docs =)…
yeah my doc’s have little to do with this problem, but they are the result of the problems you had when you tried to get advanced compile working
Thanks for the heads up! Yea, that bit of fun ;)…
@juhoteperi ^ refering to above shouldn’t react-highlight also be exported as react-highlight
so that npm dependency resolution works correctly?
The npm name is react-highlight.js
so the package should be correct