Skip to content

Conversation

mzgoddard
Copy link
Owner

  • Test bail config and flag
  • Better support hard-source by ensuring the compilation cache name is configured
  • Support hard-source and self-referencing modules

Since the tests run in child processes it'll be good to run them one by
one to make sure they don't starve for resources that could cause them
to fail.
- Improve cache name for hard-source to distinguish the compilations
  with
- Add transform dependency when a Module is returned to the
  EntryReferencePlugin

When hard-source or other plugins return a Module during the resolver
step of the normal module factory, the EntryReferencePlugin should make
sure there is an entry for that file. As well it will add a dependency
to the entry to ensure its included.

For self-referencing modules instead of returning a reference module
return the module directly. With hard-source for self-referencing
modules the reference module will not be created. Since the
self-referencing module is in the chunk a require directly to it is
fine.
@mzgoddard mzgoddard merged commit 3b20080 into master Jun 15, 2017
@mzgoddard mzgoddard deleted the bail-and-hard-source branch June 15, 2017 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant