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

Minification and more! #7

Merged
merged 4 commits into from
Sep 1, 2022
Merged

Conversation

CountBleck
Copy link
Contributor

This should have been a simple PR to test if my SSH signatures worked. Instead, I got yakbaited into minifying Osana and UV.

Enjoy!

The block inside `if (proxy == 'uv' || 'osana')` is always going to run,
because 'osana' is a truthy value. I hope those aren't bad habits from
Python.
Unlike node-static, serve-static sets the proper encoding. Also, it's
used by Express. :^)
Now that the static file server is sane in terms of encoding, this new
production bundle can be used, even with all of its janky regexes.
Prior to this commit, Osana was not minified at all. This commit updates
Osana so it is minified. Refraining from minification is just asking for
longer load times.
@GreenyDEV GreenyDEV merged commit 5e7dde2 into NebulaServices:main Sep 1, 2022
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.

2 participants