UNPKG

440 BTypeScriptView Raw
1import express = require("express");
2import WebpackDevServer = require("webpack-dev-server");
3
4/*
5 * Middleware responsible for retrieving a generated source
6 * Receives a webpack internal url: "webpack-internal:///<module-id>"
7 * Returns a generated source: "<source-text><sourceMappingURL><sourceURL>"
8 */
9declare function createEvalSourceMapMiddleware(server: WebpackDevServer): express.Handler;
10
11export = createEvalSourceMapMiddleware;