Simplify JS module processing

Description

After CLJS-2279, we're setting `setProcessCommonJSModules` to `true` in ES6 module processing. If we now set `setTransformAMDToCJSModules` to be `true` if any of the provided module is an AMD module, we can simplify the way we process JS modules currently by getting rid of the multimethod entirely and just reuse the current ES6 implementation for every kind of module.

This has the added benefit of allowing dependencies between different module types, which was previously not possible.

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

Major
Configure