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

Carriage Returns/LFs stripped out of main.js #232

Open
aknisly opened this issue Sep 20, 2024 · 3 comments
Open

Carriage Returns/LFs stripped out of main.js #232

aknisly opened this issue Sep 20, 2024 · 3 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@aknisly
Copy link

aknisly commented Sep 20, 2024

I always modify a few things in the main.js to get the specific format that I like. With the most recent update, I'm struggling to find my way around. Somehow almost all the newline/LF's (I'm not sure which?) have been stripped out. I can open a previous version of the file, and the LF's are as expected.

Is there an easy solution?
Thanks much!
image

I've opened this in Meld 3.20.4 and in Neovim 0.6.1 with the same results.

@aknisly aknisly added the bug Something isn't working label Sep 20, 2024
@tim-hub
Copy link
Owner

tim-hub commented Sep 27, 2024

the main.js file is a minified production version,

So it does not keep the original source code format.

@tim-hub
Copy link
Owner

tim-hub commented Sep 27, 2024

I will not recommend editing main.js file directly, because you will need to do it again and again for each new release.

If you still want to mofigy the main.js file,

You can build one and change the setting here to non production.

Copy link

stale bot commented Nov 27, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants