-
-
Notifications
You must be signed in to change notification settings - Fork 602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cli(entry): quotes sanitization #337
Changes from all commits
90269a5
27ffd25
5e01249
9e9f162
2a16c43
7961afb
da851a0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,30 +6,30 @@ | |
*/ | ||
|
||
module.exports = new Set([ | ||
"amd", | ||
"bail", | ||
"cache", | ||
"context", | ||
"devServer", | ||
"devtool", | ||
"entry", | ||
"externals", | ||
"merge", | ||
"mode", | ||
"module", | ||
"node", | ||
"output", | ||
"parallelism", | ||
"performance", | ||
"plugins", | ||
"resolve", | ||
"target", | ||
"watch", | ||
"watchOptions", | ||
"stats", | ||
"mode", | ||
"amd", | ||
"bail", | ||
"cache", | ||
"profile", | ||
"merge", | ||
"parallelism", | ||
"recordsInputPath", | ||
"recordsOutputPath", | ||
"recordsPath", | ||
"resolveLoader" | ||
"resolve", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bad rebase? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It includes all properties. I think Git/GitHub diff might not interpret it as sorting but only show changes in code based on line number. That's why we see such confusing diffs. You can verify it from the current file. |
||
"resolveLoader", | ||
"stats", | ||
"target", | ||
"watch", | ||
"watchOptions", | ||
]); |
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.
Why is this needed?
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.
Testing if input has
"
and then swapping it with'
.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.
Looking at the test, probably to check if entry point name has
\
?