Serve sourcemaps from webpack
This commit is contained in:
+2
-1
@@ -67,7 +67,8 @@ function serve(options) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (path.extname(req.url) === '.js') {
|
const ext = path.extname(req.url);
|
||||||
|
if (ext === '.js' || ext === '.map') {
|
||||||
webpackHandler(req, res, notFound(req, res));
|
webpackHandler(req, res, notFound(req, res));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user