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

FEATURE Event Modal #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

FEATURE Event Modal #12

wants to merge 1 commit into from

Conversation

jsirish
Copy link
Member

@jsirish jsirish commented Feb 6, 2024

To make this pass linting I had to include bootstrap (only import Modal) and the requirement @popperjs/core, so the dist/js/bundle.js file is a quite hefty 388KB.

We could consider turning off linting and relying on the main bundle to have these libraries so we're not pulling them in twice.

Screenshot 2024-02-05 at 9 53 44 PM

@jsirish
Copy link
Member Author

jsirish commented Feb 6, 2024

removing bootstrap and popperjs reduces the file to roughly 315KB

I was able to npm run build with yarn link disabled, but the method bootstrap was undefined. The calendar bundle is being included before the bundle with Bootstrap and PoppersJS in it.

@jsirish jsirish requested a review from muskie9 February 6, 2024 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant