Skip to content

Commit 4df2fb5

Browse files
committed
Remove overriding output.path to "/" when using CLI
The assignment was originally to enforce linux style paths, because the prev versions of memory-fs doesn't support windows style paths. But as it supports it now it should be fine to remove this. Ref #337
1 parent 5914f2e commit 4df2fb5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

bin/webpack-dev-server.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,6 @@ function processOptions(wpOpt) {
161161
options.outputPath = "/";
162162
if(!options.filename)
163163
options.filename = firstWpOpt.output && firstWpOpt.output.filename;
164-
[].concat(wpOpt).forEach(function(wpOpt) {
165-
wpOpt.output.path = "/";
166-
});
167164

168165
if(!options.watchOptions)
169166
options.watchOptions = firstWpOpt.watchOptions;

0 commit comments

Comments
 (0)