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

View File

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