Thanks to visit codestin.com
Credit goes to github.com

Skip to content

LavaPack bundler #39

@tmpfs

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

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