Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

fix: avoid rewriting package.json files unnecessarily #785

Closed
wants to merge 4 commits into from

Conversation

eduardoboucas
Copy link
Member

Follow up to #783 with two things:

  1. Adding a test for the archiveFormat: "none" setting, used in local development. There's a fix as part of this, ensuring a directory exists before attempting to write rewrites files to it.
  2. Avoiding rewriting package.json files unnecessarily by first checking whether they have type: "module.

@eduardoboucas eduardoboucas added the type: bug code to address defects in shipped code label Nov 2, 2021
@netlify-team-account-1
Copy link
Contributor

(tests are failing, approved anyway since the changes look good to me)

@eduardoboucas
Copy link
Member Author

Superseded by #790.

@danez danez deleted the fix/esm-nft-transpile branch August 17, 2022 22:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants