These are chat archives for brunch/brunch

8th
Dec 2015
David
@dlepaux
Dec 08 2015 08:07
Hi you can try to use this /^(bower_components[\/\\]MathJax)/
@pprzetacznik
Piotr Przetacznik
@pprzetacznik
Dec 08 2015 12:31
that provides me only MathJax.js file without configurations
@dlepaux: and configurations are important to MathJax, I think
David
@dlepaux
Dec 08 2015 12:55
Do you want to keep this config ? ?config=TeX-AMS-MML_HTMLorMML
I think you can't but if you set this config in option probably
@pprzetacznik
David
@dlepaux
Dec 08 2015 13:04
You need to compile this file too config/TeX-AMS-MML_HTMLorMML.js
I'm not sure, but you can try to override your bower.json with something like this :
"overrides": {
"mathjax": {
"main": [ "./MathJax.js", "./config/TeX-AMS-MML_HTMLorMML.js"]
}
}
Piotr Przetacznik
@pprzetacznik
Dec 08 2015 13:34
@dlepaux the problem is TeX-AMS-MML_HTMLorMML.js config loads a lot more js files
so I have to provide all of them, there are plenty of them
David
@dlepaux
Dec 08 2015 13:35
yes i see it
Piotr Przetacznik
@pprzetacznik
Dec 08 2015 13:37
is there any reasonable solution for this kind of problem?
David
@dlepaux
Dec 08 2015 13:38
i don't know how you can add all this files...
Maybe to adding all of them in the override of bower.json... And next to order files in your brunch-config
Piotr Przetacznik
@pprzetacznik
Dec 08 2015 13:40
so add all of them manually?
David
@dlepaux
Dec 08 2015 13:41
Yes like this :
mhh
there is some script at the end of ./config/TeX-AMS-MML_HTMLorMML.js
If i were you, i will pepare properly all this as a vendor, this lib don't seem to be optimized for brunch..
you can't build your lib without using the GET parameter...