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

Reason for Changes

Sibling of scratchfoundation/scratch-vm#1106

Copy link
Contributor

@cwillisf cwillisf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM... exciting!

},
externals: {
'!ify-loader!grapheme-breaker': 'grapheme-breaker',
'!ify-loader!linebreak': 'linebreak',

This comment was marked as abuse.

@cwillisf cwillisf removed their assignment May 9, 2018
@thisandagain thisandagain added this to the May 2018 milestone May 10, 2018
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.
@rschamp rschamp force-pushed the dependents-no-boiler branch from 47473dc to 9b869e0 Compare May 31, 2018 20:49
@rschamp rschamp merged commit eb95e2e 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.

4 participants