HomePhabricator
Diffusion Comm e342ac6dcb4f

Add .js suffix to all file imports

Description

Add .js suffix to all file imports

Summary:
Full context in ENG-2982, but basically Node 19 and Webpack 5 want you to explicitly specify the suffix.

To make this diff I ran a codemod script, which I'm not committing, but is documented in the task.

Test Plan: The way I ran the codemod script is documented in the task. I also tested this diff and the rest of the stack by running web, landing, keyserver, and native all together and making sure it still worked

Reviewers: atul, tomek

Reviewed By: atul

Differential Revision: https://phab.comm.dev/D6692

Details

Provenance
ashoatAuthored on Feb 10 2023, 10:50 AM
Reviewer
atul
Differential Revision
D6692: Add .js suffix to all file imports
Parents
rCOMM27ee243d3b9d: Revert "Temporary changes for staff release"
Branches
Unknown
Tags
Unknown