Skip to content

improvement: optimized mfe production build#309

Open
muhammadadeeltajamul wants to merge 1 commit into
releasefrom
optimize_mfe_build
Open

improvement: optimized mfe production build#309
muhammadadeeltajamul wants to merge 1 commit into
releasefrom
optimize_mfe_build

Conversation

@muhammadadeeltajamul

Copy link
Copy Markdown
Collaborator

Cache MFE build for production environment. Skip adding source maps in production build

@ahmed-arb

Copy link
Copy Markdown
Contributor

Did you test this approach? Do we have any numbers on how this affects build time? Any caveats?

@muhammadadeeltajamul

Copy link
Copy Markdown
Collaborator Author

Did you test this approach?

Yes, I created image builds after these changes.

Do we have any numbers on how this affects build time?

I don't have any numbers to show the improvement.

Any caveats?

  • This will require docker buildkit
  • First build will have no major improvement as cache is not created initially. All subsequent builds will be faster as the cache will exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

4 participants