bs-customizer icon indicating copy to clipboard operation
bs-customizer copied to clipboard

babel-standalone

Open Johann-S opened this issue 5 years ago • 5 comments

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

Johann-S avatar Jun 17 '19 08:06 Johann-S

Won't this include our JS by a lot though?

XhmikosR avatar Jun 17 '19 12:06 XhmikosR

it's possible yes, but the resulting JS size will be better

Johann-S avatar Jun 17 '19 12:06 Johann-S

I don't know, it depends how big it'll be. We already have too much JS. So it's your call.

XhmikosR avatar Jun 17 '19 12:06 XhmikosR

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

Johann-S avatar Jun 17 '19 12:06 Johann-S

Yeah, I know, that's what I'm talking about.

XhmikosR avatar Jun 17 '19 12:06 XhmikosR