mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
make devtoolModuleFilenameTemplate accept a function
Reference https://github.com/facebookincubator/create-react-app/blob/567d981ee28188a78731b4c45aedaa60b22a03bd/packages/react-scripts/config/webpack.config.dev.js#L81
This commit is contained in:
Vendored
+1
-1
@@ -106,7 +106,7 @@ declare namespace webpack {
|
||||
/** The filename of the SourceMaps for the JavaScript files. They are inside the output.path directory. */
|
||||
sourceMapFilename?: string;
|
||||
/** Filename template string of function for the sources array in a generated SourceMap. */
|
||||
devtoolModuleFilenameTemplate?: string;
|
||||
devtoolModuleFilenameTemplate?: string | (info: any) => string;
|
||||
/** Similar to output.devtoolModuleFilenameTemplate, but used in the case of duplicate module identifiers. */
|
||||
devtoolFallbackModuleFilenameTemplate?: string;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user