mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(wepback) js: devtoolModuleFilenameTemplate
This commit is contained in:
parent
33b8e65002
commit
05af6770b2
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ function externals(context, request, fn) {
|
|||
}
|
||||
|
||||
function devtoolModuleFilenameTemplate(info) {
|
||||
const resource = info.absoluteResourcePath.replace(__dirname + sep, '');
|
||||
const resource = info.absoluteResourcePath.replace(rootDir + sep, '');
|
||||
return `file://cloudcmd/${resource}`;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue