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

feat: ✨ Closes #497: preserve trailing newline in mangle.json #882

Merged
merged 5 commits into from
Oct 14, 2021

Conversation

mikr13
Copy link
Contributor

@mikr13 mikr13 commented Aug 22, 2021

Fixes #497

This commit adds editorconfig & index.js changes to enable trailing new line detection & addition in mangle.json

this commit adds editorconfig & index.js changes to enable trailing new line detection & addition in mangle.json

*
@changeset-bot
Copy link

changeset-bot bot commented Aug 22, 2021

🦋 Changeset detected

Latest commit: 5a86e27

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
microbundle Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

src/index.js Outdated Show resolved Hide resolved
@mikr13 mikr13 requested a review from developit August 25, 2021 18:16
.editorconfig Outdated
# enabled trailing newline on
# mangle.json files
[{mangle.json,**/mangle.json}]
insert_final_newline = true
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be covered by the wildcard above already?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also doesn't affect anyone using the project, so I've removed it

@ForsakenHarmony ForsakenHarmony merged commit 2a0ca88 into developit:master Oct 14, 2021
@preact-bot preact-bot mentioned this pull request Oct 14, 2021
developit added a commit that referenced this pull request Jan 20, 2022
developit added a commit that referenced this pull request Jan 20, 2022
* Fix mangle.json being overwritten with [object Object]

Regression from #882.

* Create gorgeous-singers-invite.md
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.

Preserve trailing newline in mangle.json
3 participants