mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
fix(builder): webpack chunk names for windows
This commit is contained in:
parent
38b71cbe04
commit
c377a78e7d
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user