bs-customizer
bs-customizer copied to clipboard
babel-standalone
Currently we just concat js/dist
files from Bootstrap, but it increase the resulting file size.
We should use babel-standalone
: https://babeljs.io/docs/en/next/babel-standalone.html
/CC @XhmikosR
Won't this include our JS by a lot though?
it's possible yes, but the resulting JS size will be better
I don't know, it depends how big it'll be. We already have too much JS. So it's your call.
maybe I wasn't clear, the bs-customizer JS will be bigger yep, but the custom Bootstrap JS produced by bs-customizer will be lighter
Yeah, I know, that's what I'm talking about.