Support `:rename` for JS modules

Description

This may just work when target is not `:nodejs`, need to add a test for that case.

Environment

None

Status

Assignee

David Nolen

Reporter

António Monteiro

Labels

Approval

Vetted

Patch

Code and Test

Fix versions

Affects versions

1.9.854

Priority

Blocker
Configure