Skip to content

Conversation

@mzgoddard
Copy link
Contributor

Proposed Changes

  • Use src/index for browser entry point instead of webpack build library
  • Depend on dependencies used in src as non-dev dependencies
  • Build node version with non-dev dependencies as external modules
  • Remove unused debug dependency

Reason for Changes

Sibling of scratchfoundation/scratch-vm#1106

Downstream webpack will need any dependencies src/ depends on so it can
successfully build. Also if multiple packages being built into a larger
script share a common dependency version range, they can share the
dependency instead of duplicating it. This will save built file size,
execution time, and memory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants