Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

babel-standalone #98

Open
Johann-S opened this issue Jun 17, 2019 · 5 comments
Open

babel-standalone #98

Johann-S opened this issue Jun 17, 2019 · 5 comments
Labels
enhancement New feature or request

Comments

@Johann-S
Copy link
Owner

Johann-S commented Jun 17, 2019

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 Johann-S added the enhancement New feature or request label Jun 17, 2019
@XhmikosR
Copy link
Collaborator

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

@Johann-S
Copy link
Owner Author

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

@XhmikosR
Copy link
Collaborator

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

@Johann-S
Copy link
Owner Author

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

@XhmikosR
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants