This repository has been archived by the owner on Sep 9, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 273
feat: support loading node core modules #76
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
joshwiens
changed the title
Allow worker-loader to load node core modules
feat: Allow worker-loader to load node core modules
Jul 4, 2017
Thanks @FrogTheFrog |
michael-ciniawsky
changed the title
feat: Allow worker-loader to load node core modules
feat: support loading node core modules
Jul 4, 2017
@TrySound 2 simple tests added. One for dependencies that should be missing (when target is |
Nice |
TrySound
approved these changes
Jul 4, 2017
@TrySound I decided to actually add tests for all targets instead of assuming that it should work. |
Good |
michael-ciniawsky
approved these changes
Jul 4, 2017
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
joshwiens
approved these changes
Jul 4, 2017
joshwiens
added
pr_action: Merge ready
and removed
flag: Needs Tests
pr_action: Review
labels
Jul 4, 2017
`this.options` is deprecated so why not?
joshwiens
pushed a commit
that referenced
this pull request
Sep 25, 2017
* Allow worker-loader to load node core modules * added tests for all targets * change this.options.target to this.target
TheLD6978
pushed a commit
to TheLD6978/worker-loader
that referenced
this pull request
Apr 16, 2021
* Allow worker-loader to load node core modules * added tests for all targets * change this.options.target to this.target
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Should no longer throw errors for missing node modules, such as
fs
,path
and etc.It applies
NodeTargetPlugin
to child compiler if the main target usesNodeTargetPlugin
. Every target apart fromwebworker
andweb
useNodeTargetPlugin
.Fixes #44, #55