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

fix: add support for inlining via ROLLUP_INLINE_DYNAMIC_IMPORTS #447

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

voneiden
Copy link
Contributor

Setting ROLLUP_INLINE_DYNAMIC_IMPORTS=true will essentially create a single js and css file.

The reason for introducing this is that platta has implemented DDoS protection that gets easily upset because normal rollup build produces quite many js and css assets. This becomes very problematic with playwright tests that make a lot of repeated requests.

refs: LINK-2229

Co-PR: https://dev.azure.com/City-of-Helsinki/linkedevents/_git/linkedevents-pipelines/pullrequest/10597

Setting ROLLUP_INLINE_DYNAMIC_IMPORTS=true will essentially create
a single js and css file.

The reason for introducing this is that platta has implemented DDoS
protection that gets easily upset because normal rollup build produces
quite many js and css assets. This becomes very problematic with
playwright tests that make a lot of repeated requests.

refs: LINK-2229
@terovirtanen
Copy link
Contributor

LINKEDCOMPONENTS-UI branch is deployed to platta: https://linkedcomponents-pr447-ui.dev.hel.ninja 🚀🚀🚀

@terovirtanen
Copy link
Contributor

e2e tests result is success for https://linkedcomponents-pr447-ui.dev.hel.ninja 😆🎉🎉🎉

@voneiden voneiden merged commit 4cd0baa into main Jan 20, 2025
20 checks passed
@voneiden voneiden deleted the inline branch January 20, 2025 09:01
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.

3 participants