Skip to content

bundling - is it a goal? #3

@refack

Description

@refack

Continued from nodejs/node#22722 (comment):

IMHO bundle-ability is a goal for general tooling enablement (we can argue on priority later). I believe that single file cohesive packing has many benefits for tools. But at the moment CJS based tools are hard to bundle, and node doesn't provide enough hook point to achieve this.

Perceived benefits:

  1. Opacity to IDEs - they should not try to parse/analyse/fix
  2. Compact size
  3. 0 install - single file, just copy&run
  4. Cohesive - can't break it by misplacing parts
  5. Maybe faster?
  6. Easy to SCM - single file to track, light on FS and on git.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions