Skip to content

LavaPack bundler #39

Description

@tmpfs

The lavapack bundler logic is currently available via the bundle command:

  • Top-level IIFE
  • Inject LavaPack runtime
  • Inject merged policy file(s)
  • Serialize modules list
  • ESM module detector
  • Transform for CJS module init functions
  • Transform for ESM module init functions (static module record)
  • Define and inject module type (esm or cjs)
  • Handle entry points (translate path to module id?)
  • Call LavaPack.loadBundle()

  • Verify source maps
  • Implement tree shaking for ESM modules
  • Parallel module parsing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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