fix(builder): webpack chunk names for windows

This commit is contained in:
Pooya Parsa 2017-11-21 16:53:40 +03:30
parent 38b71cbe04
commit c377a78e7d
No known key found for this signature in database
GPG Key ID: C3C77C557D8883CD
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ export function wp(p = '') {
export function wChunk(p = '') {
/* istanbul ignore if */
if (isWindows) {
return p.replace(/\//g, '\\\\')
return p.replace(/\\/g, '/')
}
return p
}