@parcel/transformer-elm package in
packages/transforms/elm. This package is a Parcel 2 transform plugin for Elm. It should be based on the ElmAsset from Parcel 1.
@parcel/transformer-elm package is responsible for the following things:
- Ensuring the elm compiler is installed as a dependency
elm.jsonif it doesn’t exist, or loading the existing config.
- Collecting dependencies
- Compressing using the recommended terser settings? Possibly move this to an optimizer plugin if it makes sense to run it over the entire bundle rather than individual assets.