Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

[TOOLING]: Better webpack configurations #6964

Closed
evenstensberg opened this issue Aug 18, 2023 · 9 comments
Closed

[TOOLING]: Better webpack configurations #6964

evenstensberg opened this issue Aug 18, 2023 · 9 comments
Labels
help_wanted Help the Open MCT project! type:maintenance tests, chores, or project maintenance

Comments

@evenstensberg
Copy link
Contributor

Summary

Thread for discussing webpack configurations

@evenstensberg evenstensberg added the type:maintenance tests, chores, or project maintenance label Aug 18, 2023
@evenstensberg
Copy link
Contributor Author

@unlikelyzero @ozyx I'm interested in your opinion of your production build. Do you need specific file endings/naming, or am I free to add minification and changes to the generated dist folder?

@evenstensberg
Copy link
Contributor Author

Also forgot to mention, but the welcoming vibes from you on this project is very chill! Thank you! 🇺🇸

@unlikelyzero
Copy link
Collaborator

@evenstensberg interested to learn what all you can recommend.

minification would be great.

What sort of dist folder changes are you proposing?

@unlikelyzero unlikelyzero added the help_wanted Help the Open MCT project! label Aug 24, 2023
@evenstensberg
Copy link
Contributor Author

@unlikelyzero In the first iteration, I'd like to generate a good dist structure that groups images, js, html etc into respective folders. In addition to that, enable minification as far as possible without breaking your development flow. The reason why I was curious about it, was that I ought to think that you use a simple prod configuration so that bug tracking is easier. In production you cant easily debug since the generated source map is of another type. Did that make sense?

@evenstensberg
Copy link
Contributor Author

Relative #6120

@evenstensberg
Copy link
Contributor Author

@unlikelyzero How do you serve the OpenMCT application to consume? Do you have apache/nginx or do you just run webpack dev server?

@unlikelyzero
Copy link
Collaborator

unlikelyzero commented Sep 6, 2023

https://github.com/scottbell/openmct-quickstart is our first attempt at publishing some of the best practices when using Apache @evenstensberg

@evenstensberg
Copy link
Contributor Author

@unlikelyzero okay. Reason for asking is, that if you either spin up a express server with openmct, you can achieve some good performance benchmarks. Atm openmct is bundled to one file that is imported by your consumers, and naturally the size of the application will take longer to load.

@unlikelyzero
Copy link
Collaborator

The goal is to run this collection of performance tests https://github.com/unlikelyzero/openmct-performance

Against the OpenMCT-quickstart repo within 2 weeks.

@nasa nasa locked and limited conversation to collaborators Sep 11, 2023
@ozyx ozyx converted this issue into discussion #7045 Sep 11, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
help_wanted Help the Open MCT project! type:maintenance tests, chores, or project maintenance
Projects
None yet
Development

No branches or pull requests

2 participants