Skip to content

Better documentation for dead code elimination #2545

Description

@paf31

@Pauan and @wegry have been working on bundling using Rollup (see #2207)

The implementation of psc-bundle relies on some guesswork as to the output of the compiler, and the result is that it is quite fragile. It can be difficult to understand why some FFI code works when bundled and some doesn't.

I would very much like to reduce the scope of psc-bundle before 1.0. I would remove almost all of the features except for concatenating our Common JS output, shimming require if necessary, and outputting source maps. This is the minimum needed to support PSCi in the browser, and Try PureScript, both of which use psc-bundle for serving compiled dependencies.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions