-
-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
78 additions
and
85 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ import ( | |
"github.com/ije/gox/utils" | ||
) | ||
|
||
var builtInNodeModules = map[string]bool{ | ||
var internalNodeModules = map[string]bool{ | ||
"assert": true, | ||
"assert/strict": true, | ||
"async_hooks": true, | ||
|
@@ -69,7 +69,7 @@ var builtInNodeModules = map[string]bool{ | |
} | ||
|
||
// copy from https://github.com/webpack/webpack/blob/master/lib/ModuleNotFoundError.js#L13 | ||
var polyfilledBuiltInNodeModules = map[string]string{ | ||
var polyfilledInternalNodeModules = map[string]string{ | ||
"assert": "[email protected]", | ||
"buffer": "[email protected]", | ||
"console": "[email protected]", | ||
|
6855ed9
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.
Nice