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 soundfont-player 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.
@mzgoddard mzgoddard requested a review from rschamp May 9, 2018 14:02
@thisandagain thisandagain added this to the May 2018 milestone May 10, 2018
@rschamp rschamp merged commit c40105c into scratchfoundation:develop May 31, 2018
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