Skip to content

Commit 6abb060

Browse files
committed
Remove outputPath option in CLI that had no effect
1 parent 264716f commit 6abb060

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

bin/webpack-dev-server.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,6 @@ function processOptions(wpOpt) {
209209
options.publicPath = "/" + options.publicPath;
210210
}
211211

212-
if(!options.outputPath)
213-
options.outputPath = "/";
214212
if(!options.filename)
215213
options.filename = firstWpOpt.output && firstWpOpt.output.filename;
216214

lib/optionsSchema.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"additionalProperties": false,
33
"properties": {
44
"hot": {
5-
"description": "TODO.",
5+
"description": "Enables Hot Module Replacement.",
66
"type": "boolean"
77
},
88
"hotOnly": {
9-
"description": "TODO.",
9+
"description": "Enables Hot Module Replacement without page refresh as fallback.",
1010
"type": "boolean"
1111
},
1212
"lazy": {
@@ -28,10 +28,6 @@
2828
}
2929
]
3030
},
31-
"outputPath": {
32-
"description": "TODO.",
33-
"type": "string"
34-
},
3531
"publicPath": {
3632
"description": "TODO.",
3733
"type": "string"

0 commit comments

Comments
 (0)